Skip to main content
Use comment creation APIs to add comments to posts, stories, or your own custom content IDs. A reply is a normal comment with parentId set to the comment being replied to.

Text Comment

Create top-level comments and replies with text, metadata, mentions, and supported link payloads.

Image Comment

Create comments with uploaded image file IDs.

Parameters

In a community that requires comment review, the created comment comes back with a pending approval status: only its author and the community’s reviewers can see it, and it does not move the post’s comment count for anyone else until it is approved. See Approval Lifecycle for when a comment is held and who is exempt. In a community that requires review, create with optimistic creation turned off so the returned comment already carries its approval status — see Read Approval Status on a Comment.

Basic Text Comment

Create a top-level text comment by passing the reference target and text body to the comment repository.

Reply to a Comment

Create a reply with the same reference target and the parentId of the comment being replied to.

Text Comment

See full text-comment parameters and notes.

Image Comment

Create comments with uploaded image attachments.

Query Comments

Query top-level comments and reply threads.

Delete Comment

Remove comments after user or moderation actions.