Update a comment
Edit the text, media, quote or mentions of a comment you wrote.
comments:update, and a role in the post’s workspace that can edit comments. Only the comment’s author can edit it. See Permissions.media replaces the comment’s media; send [] to remove it all. The comment must keep text or media. quote, anchor and mentions are for team comments, and only the people mentions adds are told.
The edit changes PostSyncer’s copy only: a reply already sent to a network stays there as it went out.
Errors
Related
- Get a comment: the comment as it is now.
- Delete a comment: remove it instead.
Authorizations
Body
Send only what changes. The comment must keep text or media.
Up to 10 pictures or videos: media library ids of the post's workspace, or public https:// links, which are copied into the library first (as for a post's content[].media). JPEG, PNG, GIF and WebP pictures; MP4, MOV and WebM videos. No documents. The list replaces the comment's media; [] or null removes it, if the comment keeps text.
10Team comments only: the people it tags, as user ids from List people to mention. Each person added gets the comment.mentioned notification once; the writer never does.
50Response
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.
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.
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.
SOCIAL, INTERNAL, APPROVAL, PUBLIC_SHARE 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.
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.
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.
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.
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.