Create a note comment
Notes View as Markdown
POST/api/note/{noteId}/comment
Accepts an editor doc (TipTap JSON) or a markdown string; stored as markdown.
Parameters
noteIdintegerpathRequired- ID of the note.
Request body
docobject- Comment as an editor document (ProseMirror JSON, with a
type: "doc"root). Send eitherdocormarkdown;markdownwins if both are given. markdownstring- Comment as Markdown (up to 20,000 characters). Send either
docormarkdown. 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 member404Note not found