Skip to main content
CommentsVersion: v3

Create Comment

POST/projects/tasks/{taskId}/comments

Creates a top-level comment or a one-level reply (parentCommentId). Field is TipTap body — see TipTap documentation. Sanitised to a published allowlist before storage. Response: { "comment": { … } }.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:projects/tasks.comments.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

taskIdstringrequired

Task id

Example:6a102435124ecfb348bd5509

Query Parameters

locationIdstring

Location id. Required for channel: APP. Ignored for OAuth/PIT — those use the location on the auth token. Do not send in path, body, or headers.

Example:ve9EPM428h8b87FE9C12Kg

Body

bodystringrequired

Comment text as TipTap HTML or TipTap JSON string. See TipTap documentation. Sanitised server-side to a published HTML allowlist (basic formatting + links). Max 32,000 characters.

Possible values: <= 32000 characters

Example:<p>Looks good — shipping next.</p>
parentCommentIdstringnullable

Parent comment ID for threaded replies. Omit for top-level comments.

Example:6a102435124ecfb348bd5510
mentionedUserIdsstring[]

User IDs mentioned in the comment

Example:["user_2"]

Response

Successful response

commentobjectrequired

Comment

Example:null