Skip to main content
GET
cURL
Needs comments:read. See Permissions.
Gives the comments of the post in post_id, 20 a page. source picks which kind: SOCIAL (the default) for the networks’ comments and your replies, INTERNAL for team, approval and share-link comments together. With source=SOCIAL, page 1 reads the networks first, as opening the post’s comments in the app does. A copy whose read was started in the last 2 minutes (X: 5), even one that failed, or is running now, is not read again. Instagram and Threads send their comments as they are written, and TikTok, Pinterest, Telegram and Google Business Profile comments are not read. On Free, X comments come from a daily allowance; once it is used up, the saved ones are listed with no error. On X, Threads, Bluesky and Mastodon, the parts of a post published as a thread are not comments, so they are not listed. That covers the parts PostSyncer posted and the account’s own replies that continue the thread within 15 minutes of the part before. The post’s first comment is listed. Each comment’s media holds its photos, GIFs, videos and audio clips, each with kind and sensitive. media_hidden_by_platform is true on an Instagram comment that holds a GIF, sticker or photo Instagram doesn’t share. On Threads, a GIF in a reply with text isn’t kept. moderation_reason says which rule comment moderation acted on, or is null. is_resolved, is_approved and include_replies take the words true and false, not 1 and 0.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

post_id
integer
required

The post. It must be in a workspace the key can reach.

Example:

4182

source
enum<string>
default:SOCIAL

SOCIAL for comments from the networks, INTERNAL for team, approval and share-link comments together, APPROVAL or PUBLIC_SHARE for one kind.

Available options:
SOCIAL,
INTERNAL,
APPROVAL,
PUBLIC_SHARE
provider
string

Only this network's comments, like facebook. With source=SOCIAL, only that network is read first.

is_resolved
enum<string>

true keeps resolved comments, false the others. Send the word: 1 and 0 are refused with 422.

Available options:
true,
false
is_approved
enum<string>

true or false keeps the comments with that is_approved (a comment without one matches neither). 1 and 0 are refused with 422.

Available options:
true,
false
include_replies
enum<string>
default:true

true: top-level comments, each with its replies nested. false: every comment, flat. 1 and 0 are refused with 422.

Available options:
true,
false
per_page
integer
default:20

Items a page, 1 to 100. 20 when left out. Outside 1 to 100 it is refused with 422.

Required range: 1 <= x <= 100
page
integer
default:1

The page, from 1.

Required range: x >= 1

Response

data array and pagination object. Each comment has needs_reply (true on a top-level social comment that asks something, with ?, ؟ or ?, and no reply from the workspace yet), quote, anchor and mentions ({id, name, avatar}). A social comment also has account_id and account ({id, name, username, avatar}): which of the post's connected accounts it is on, the one a reply to it is sent as (null on team, client and approval comments); and likes_count: the likes the network counted when PostSyncer last read the comment, or null when not known (team and client comments, replies sent from PostSyncer, Instagram and Threads). Its media lists the photos, GIFs, videos and audio clips in it, each with kind and sensitive (a team comment's media is its attachments); media_hidden_by_platform is true on an Instagram comment that holds a GIF, sticker or photo Instagram doesn't share. On Threads, a GIF in a reply with text isn't kept. moderation_reason says why moderation acted on it.

data
object[]
required
pagination
object
required

Where this page sits in the whole list (comments and reviews).