Create a task comment
Tasks View as Markdown
POST/api/task/{taskId}/comment
Accepts an editor doc (TipTap JSON) or a markdown string; stored as markdown.
Parameters
taskIdintegerpathRequired- ID of the task.
Request body
docobject- Comment body as a rich-text document (ProseMirror/Tiptap JSON). Send either
docormarkdown. markdownstring- Comment body as Markdown (up to 20,000 characters). Takes precedence over
docif both are sent. parentIdinteger | null- ID of the comment to reply to. Omit or
nullto post a top-level comment.
Responses
200Created comment400Empty body or invalid parent401Authentication is required403Not a project member404Task not found