All APIs

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 doc or markdown.
markdownstring
Comment body as Markdown (up to 20,000 characters). Takes precedence over doc if both are sent.
parentIdinteger | null
ID of the comment to reply to. Omit or null to post a top-level comment.

Responses

  • 200Created comment
  • 400Empty body or invalid parent
  • 401Authentication is required
  • 403Not a project member
  • 404Task not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.