Add comment
Comment on a page: reply to a thread, start a thread on a block (by blockId, or the first block containing nearText), or comment on the whole page. Comments never change the page.
/v1/w/{workspace}/pages/{id}/commentsSend an Idempotency-Key. This may answer 202 while it waits for approval.
Path parameters
workspacestringrequiredYour workspace’s address name.
idstringrequiredThe page’s id, like pg_…, from List pages.
Headers
Idempotency-Keystring8–100 characters. Repeat the same key and body to get the first outcome back instead of writing twice.
Body
bodystringrequiredPlain text, up to 5,000 characters.
mentionsstring[]Member identities to mention.
threadIdstringReply to this thread.
blockIdstringStart a thread on this block, from Get page with blocks=true.
quotestringWith blockId: the words the comment is about.
nearTextstringStart a thread on the first block whose text contains this.
Response
addedstringrequiredthreadobjectrequireduntrustedstring[]Details
Comment on a page. Reply to a thread with threadId (this reopens it if resolved), comment on one block with blockId (from get_page with blocks: true) or nearText (the first block containing that text), or leave both out for a comment about the whole page. Plain text; item ids such as LIT-12 and web links are clickable for people.