Comments
Comments on tasks, projects, deals, contacts and companies. Every request needs an API key; the examples read it from $MAVATU_API_KEY. How lists, dates, money and errors work is in the API guide.
The comment object
A comment on a task, project, deal, contact or company. Comments for the team only are never shown to people from outside it.
objectstringAlways comment.
idstringitem_idstringWhat it's on: a task, project, deal, contact…
author{id, name}or nullbodystringMarkdown. Mentions are @[Name](mem_…).
team_onlybooleanOnly the team sees it, not people from outside it who can see the item.
viastringor nullThe app it was written through (an AI app, or API), if any.
created_attimeedited_attimeor null
{ "object": "comment", "id": "cmt_01jc8xe6szaeavsntcpm5q1nxw", "item_id": "tsk_01jc5gqapenecfseczp11hygcp", "author": { "id": "mem_01jcm9s346q3d25vt4f5v37e3s", "name": "Imogen Hale" }, "body": "Lovely. @[Wren Abbott](mem_01jc3e28jt97kb6cq643dzvmxx), can we lead with the second one?", "team_only": true, "via": "API", "created_at": "2026-11-06T10:02:19Z", "edited_at": null}List comments
GET/comments
The comments on one record (a task, project, deal, contact, company…), newest first.
Filters and paging
item_idstringrequiredThe record's ID: tsk_…, prj_…, deal_…, ctc_…, cmp_…
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/comments?item_id=tsk_01jc5gqapenecfseczp11hygcp" \ -H "Authorization: Bearer $MAVATU_API_KEY"Add a comment
POST/comments
Comment on a record, in Markdown. Its followers are notified; mention someone with @[Their Name](mem_…) and they're notified and start following. On a record people from outside the team can see, the comment is for the team unless team_only is false.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Body
idstringYour own ID for it (cmt_…), or leave it out. Sending the same ID again returns the first comment.
item_idstringrequiredThe record to comment on.
bodystringrequiredMarkdown. Mention someone with @[Their Name](mem_…).
team_onlybooleanOnly for the team, not for people from outside it who can see the record. Default: true when anyone from outside can see it. People from outside the team always write for everyone.
Returns
curl -X POST https://app.mavatu.com/api/v1/comments \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "item_id": "tsk_01jc5gqapenecfseczp11hygcp", "body": "Lovely. @[Wren Abbott](mem_01jc3e28jt97kb6cq643dzvmxx), can we lead with the second one?", "team_only": true}'Edit a comment
PATCH/comments/{id}
Change the text of one of the key's person's own comments.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Path
idstringrequiredThe comment's ID.
Body
bodystringrequiredThe comment's new text, in Markdown.
Returns
curl -X PATCH https://app.mavatu.com/api/v1/comments/cmt_01jc8xe6szaeavsntcpm5q1nxw \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "body": "Lovely. @[Wren Abbott](mem_01jc3e28jt97kb6cq643dzvmxx), can we lead with the second one? Priya liked it best too."}'