Skip to main content
GET
Get a comment
Needs comments:read. See Permissions.
Gives the comment as PostSyncer has it, with its replies five levels deep and, on a reply, its parent in parent_comment. It doesn’t read the network: Sync comments does. A social comment’s media lists its photos, GIFs, videos and audio clips in the order it shows them. kind is what the network sent (photo, gif, video or audio) and type the saved file’s type, so a video kept as its still has type image and kind video. sensitive is true when the network marked the picture sensitive. Instagram doesn’t share the pictures in comments, so an Instagram comment has none. On Threads, a GIF in a reply with text isn’t kept. media_hidden_by_platform is true on an Instagram comment that holds a GIF, sticker or photo Instagram doesn’t share. Instagram sends such a comment with no text, so its content is "" (an empty string) and its media is []. moderation_reason names the comment moderation rule that removed the comment, or ai_reply_generated on a reply the auto-reply sent; it is null when moderation did nothing.

Errors

Authorizations

Authorization
string
header
required

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

Path Parameters

comment
integer
required

The comment's id.

Response

The comment, not wrapped in data.

A comment on a post: from a network (source: SOCIAL), or written in PostSyncer (team, approval and share-link comments). mentions, media, replies and user are left out of a reply's parent_comment.

id
integer
required
user_id
integer | null
required

The PostSyncer member behind it: who wrote a team comment or a reply sent from PostSyncer (an auto-reply has the post's author, or the workspace owner). On a comment read from a network, the member who connected the account when the connected account itself wrote it. Null on other people's comments from a network and on a client's share-link comment.

crm_contact_id
integer | null
required

The CRM contact saved for the commenter of a comment read from a network, whatever contact collection is set to. Null on team, approval and share-link comments, on replies sent from PostSyncer, and when the network withheld the author.

post_id
integer
required
platform_post_id
integer | null
required

The post's copy on one account (a platforms[].id of the post) that the comment is on. Null on team, approval and share-link comments.

parent_comment_id
integer | null
required

The comment this one answers; null on a top-level comment.

source
enum<string>
required

SOCIAL: from a network, or a reply to one sent from PostSyncer. INTERNAL: a team comment, which stays in PostSyncer. APPROVAL: a note left when approving or asking for changes. PUBLIC_SHARE: a client's comment on the post's share link.

Available options:
SOCIAL,
INTERNAL,
APPROVAL,
PUBLIC_SHARE
comment_url
string | null
required

A link to the comment, or to the post it is on, on the network. Null when the network gives none.

platform
string | null
required

The network, like instagram. Null on team, approval and share-link comments.

platform_post_comment_id
string | null
required

The comment's id on the network. Null on a reply that hasn't gone out yet, and on comments that stay in PostSyncer.

author_name
string | null
required

The member's name when a member wrote it; else the name or handle the network gives.

author_avatar_url
string | null
required
content
string | null
required

The text. Null on a comment with only media. An Instagram comment with a picture Instagram doesn't share has "": see media_hidden_by_platform.

moderation_message
string | null
required

What moderation did, in words.

moderation_reason
string | null
required

Why moderation acted on the comment. On a comment moderation removed (is_deleted_on_platform true), the rule it broke: remove_all_comments, urls_detected, emails_detected, phone_numbers_detected, mentions_detected, hashtags_detected, keywords_detected, profanity_detected, negativity_detected or custom_topics_detected. On a reply the auto-reply sent: ai_reply_generated. Null when moderation did nothing, as on a comment its author deleted.

is_resolved
boolean | null
required

The thread is marked resolved. Null only in the answer to Create a comment when the request left it out; it is stored as false.

is_approved
boolean | null
required

A flag of your own, set when the comment was created. Null when it wasn't set.

is_deleted_on_platform
boolean | null
required

Removed on the network: deleted from PostSyncer (on YouTube, someone else's comment is rejected, which can't be undone), by moderation, or by its author. On Bluesky, a delete or moderation also marks someone else's reply true, though it stays up there. Null only in the answer to Create a comment.

is_hidden_on_platform
boolean | null
required

Hidden on the network: by Hide, by moderation, or by a delete on X or Threads, which hide instead of deleting someone else's comment. Null only in the answer to Create a comment.

media_hidden_by_platform
boolean
required

Instagram: the comment holds a GIF, sticker or photo Instagram doesn't share. Instagram sends such a comment with no text, so its content is "" (an empty string) and its media is []. False on every other comment.

needs_reply
boolean
required

A top-level social comment that asks something (?, ؟ or ?), is not hidden or deleted, and has no reply from the workspace yet. A reply counts as the workspace's when it was sent from PostSyncer or written by the connected account in the network's own app.

quote
string | null
required

Team comments: the words of the post this comment is about.

anchor
object | null
required

Team comments: where the quoted words are.

account_id
integer | null
required

A social comment: 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.

account
object | null
required

The account account_id names. Null with it.

likes_count
integer | null
required

The likes the network counted when PostSyncer last read the comment. Null when not known: team and client comments, replies sent from PostSyncer, Instagram and Threads.

created_at
string<date-time>
required

UTC, ISO 8601.

updated_at
string<date-time>
required

UTC, ISO 8601.

mentions
object[]

Team comments: the people it tags. Picture and name only, never an email.

parent_comment
object | null

Get, create and update only: the comment this one answers, without its mentions, media, replies or user. Null on a top-level comment.

replies
array

The answers to it, nested up to five levels. On a list with include_replies=false it is left out.

media
object[]

A social comment: the photos, GIFs, videos and audio clips in it, in the order the comment shows them. A team comment: its attachments. Instagram doesn't share the pictures in comments, so an Instagram comment has none. On Threads, a GIF in a reply with text isn't kept.

user
object

The member who wrote it. Left out when user_id is null.