Skip to main content
Create a text comment by passing a reference target and text body to the comment repository. To create a reply, pass the parent comment ID with the same reference target.

Parameters

The current Flutter public comment creation builder exposes metadata(...) and mentionUsers(...), but it does not expose a links(...) method.

Create a Text Comment

Create a top-level text comment with the reference target and text body.

Reply to a Comment

Replies use the same creation API with parentId set to the comment being replied to.

Notes

  • Keep the same referenceId and referenceType as the thread you are replying in.
  • Use query APIs or live collections to display creation and sync state in the UI.
  • Validate your product’s text limits and moderation rules before calling the SDK.
  • Build mention payloads from the user IDs your mention picker returns.

Image Comment

Create comments with uploaded image attachments.

Query Comments

Query top-level comments and reply threads.