Post a comment

View as Markdown

Adds a comment to a thread, with optional @-mentions. Requires playbook-task:do on the project; an inaccessible project or entity reads as 404.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
threadIdstringRequired

Request

This endpoint expects an object.
bodystringRequired1-10000 characters
mentionedUserIdslist of stringsOptionalDefaults to []

Response

The created comment.
commentmap from strings to any
A thread comment.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error