Create a comment on a post
Add a comment to a post. Supports @mentions using the format @[Display Name](userId). Tagged users must be workspace members. The commenter and any tagged users are automatically subscribed to the post.
POST
/posts/{postId}/commentsAuthorization
AuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
Path parameters
postIdstring<uuid>requiredPost ID (UUID)
Request body
requiredapplication/jsonmessagestringrequiredThe comment text. Cannot be empty. Supports @mentions using the format @[Display Name](userId)
min length 1
Responses
200
Comment created successfully
idstring<uuid>Unique identifier for the comment
messagestringThe comment text. Mentions use the format @[Display Name](userId)
postIdstring<uuid>The post this comment belongs to
createdAtstring<date-time>When the comment was created
updatedAtstring<date-time>When the comment was last updated
userCommentUserUser who created a comment
Show propertiesHide properties
idstring<uuid>firstNamestring | nulllastNamestring | nullemailstring<email>400
Bad Request - Invalid input parameters
codestringmessagestringdataobjectShow propertiesHide properties
errorsobject401
Unauthorized - Missing or invalid API key
codestringmessagestring404
Not Found - Resource does not exist
codestringmessagestring