Support conversations
Conversations with customers: who they're with and where they stand, what was said, triage and notes for the team. 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 conversation object
A support conversation with a customer, by email or the Messenger on your website: who it's with, where it stands, who on the team has it, and its tags. Its messages are read with its own endpoint.
objectstringAlways conversation.
idstringnumberintegerIts number in the workspace, as in #1042.
subjectstringIn the customer's words; may be empty.
statusstringopen; waiting on the customer; snoozed until snoozed_until; or closed.
prioritybooleanMarked as a priority.
channelstringHow the customer wrote: email, or the Messenger on your website.
One of
email,messenger.customerobjectWho it's with.
namestringAs they gave it, or their contact's name.
emailstringor nullThe address they wrote from; null for a Messenger visitor who hasn't given one we could confirm.
contact{id, name}or nullWho they are in the directory; null for people who can't see it.
company{id, name}or nullTheir company, in the directory.
assignee{id, name}or nullWho on the team has it; null when nobody does.
inbox{id, name}or nulladdress{id, name}or nullThe support address an email came to, its name the address itself; null for the Messenger.
tagsarray of {id, name}or nullIts tags (see
GET /tags?record_type=conversation).snoozed_untiltimeor nullWhen a snoozed one opens again.
closed_attimeor nulllast_message_attimeor nullWhen the customer or the team last wrote in it, notes included.
urlstringcreated_attime
{ "object": "conversation", "id": "cnv_01jd2g7c3n6r0v4y8b1e5h9k2m", "number": 1042, "subject": "Can we move Friday's delivery?", "status": "open", "priority": false, "channel": "email", "customer": { "name": "Priya Shah", "email": "priya@honeybeebakery.co.uk", "contact": { "id": "ctc_01jc1rnj47e65gh2bh8vgs9zm5", "name": "Priya Shah" }, "company": { "id": "cmp_01jc7ag3bckkdjwbhp1g201cyf", "name": "Honeybee Bakery" } }, "assignee": { "id": "mem_01jc3e28jt97kb6cq643dzvmxx", "name": "Wren Abbott" }, "inbox": { "id": "ibx_01jcb2v7m4q9x3t6r8p1w5y0zk", "name": "Hello" }, "address": { "id": "adr_01jcb2v9h3k6n0q4t7w1z5c8fm", "name": "hello@kettleandkite.co.uk" }, "tags": [ { "id": "tag_01jcz8m2p5r9t3w7y1b4d6f0hj", "name": "Deliveries" } ], "snoozed_until": null, "closed_at": null, "last_message_at": "2026-11-12T09:12:40Z", "url": "https://app.mavatu.com/kettle-kite/support/cnv_01jd2g7c3n6r0v4y8b1e5h9k2m", "created_at": "2026-11-12T08:47:03Z"}List conversations
GET/conversations
Support conversations with customers, the newest first: every status unless you say, without those in Spam or merged into another. Filter by status, assignee, inbox, contact, company or tag.
Filters and paging
statusstringThose that stand there: open, waiting (on the customer), snoozed or closed. Every status unless you say.
assignee_idstringThose a member has: their ID, me, or none for those nobody has.
inbox_idstringcontact_idstringThose with a contact, in the directory.
company_idstringThose with someone at a company, in the directory.
tagarray of stringsOnly those with these tags, by ID or name (
GET /tagslists them): repeat it, or separate them with commas, up to 50. tag_mode says whether they need all of them, any or none. A tag not used on this kind of record is refused.tag_modestringWith tag: all (the default) for those with every one of the tags, any for those with at least one, none for those with none of them.
fieldobjectOnly those whose custom field matches, with the field by ID or name (
GET /fieldslists them), e.g. field[Phase]=Design. Options are by ID or name, people by ID, me, email or name, contacts by ID, email or name, and companies by ID, domain or name: up to 50, repeated or comma-separated, match any of them. Commas always separate values, so give one with a comma in its name by ID. A checkbox is true or false. Text matches when it contains the value, ignoring case. A number, amount or date matches exactly, and field[…][from] and field[…][to] give an inclusive range. Dates are YYYY-MM-DD; amounts are in the workspace's currency, in its smallest unit (500000 is 5,000.00), with other currencies converted at today's rate. none matches those with no value, any those with one. Every filter must match.limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/conversations?status=open&assignee_id=me" \ -H "Authorization: Bearer $MAVATU_API_KEY"Get a conversation
GET/conversations/{id}
One support conversation: who it's with, where it stands, who has it and its tags. GET /conversations/{id}/messages reads what was said.
curl https://app.mavatu.com/api/v1/conversations/cnv_01jd2g7c3n6r0v4y8b1e5h9k2m \ -H "Authorization: Bearer $MAVATU_API_KEY"Update a conversation
PATCH/conversations/{id}
Triage a conversation: its status, who has it, its inbox, whether it's a priority, and its tags. Changes only the fields you send; null clears one. It never writes to the customer.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Path
idstringrequiredThe conversation's ID.
Body
statusstringor nullopen, waiting (on the customer) or closed.
assignee_idstringor nullA member of the team, me, or null for nobody.
inbox_idstringor nullMove it to another inbox, which leaves it with nobody unless assignee_id is sent too.
prioritybooleanor nullMark it as a priority, or not (null is not).
tagsobjector nullTags to add and take off: {add, remove}, by ID or name.
addarray of stringsor nullTags to add, by ID or name (see
GET /tags): a new name makes a tag.removearray of stringsor nullTags to take off, by ID or name.
Returns
curl -X PATCH https://app.mavatu.com/api/v1/conversations/cnv_01jd2g7c3n6r0v4y8b1e5h9k2m \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "status": "waiting", "assignee_id": "mem_01jc3e28jt97kb6cq643dzvmxx", "tags": { "add": [ "Deliveries" ] }}'The conversation message object
Something said in a support conversation: what the customer wrote (plain text, as they wrote it), the team's replies, and the team's internal notes, which the customer never sees.
objectstringAlways conversation_message.
idstringconversation_idstringkindstringcustomer: what the customer wrote; reply: the team's answer to them; note: the team's internal note, which the customer never sees.
author{id, name}or nullWho on the team wrote a reply or note; null for the customer's.
fromobjector nullWho wrote a customer's message; null for the team's.
namestringAs they gave it.
emailstringor nullThe address they wrote from; null in the Messenger.
contact{id, name}or nullWho they are in the directory; null for people who can't see it.
bodystringThe team's replies and notes are Markdown, with mentions as @[Name](mem_…). A customer's message is plain text, as they wrote it (see format).
formatstringmarkdown for the team's; text for the customer's, never to be read as Markdown.
deliverystringor nullA reply's: queued to send (it can still be undone), held for its author to look at again, sent, or failed. Null for the rest.
urlstringcreated_attimeedited_attimeor nullWhen a note was last changed.
{ "object": "conversation_message", "id": "prt_01jd2h5r8m1q4t7w0y3b6e9g2k", "conversation_id": "cnv_01jd2g7c3n6r0v4y8b1e5h9k2m", "kind": "note", "author": { "id": "mem_01jc3e28jt97kb6cq643dzvmxx", "name": "Wren Abbott" }, "from": null, "body": "@[Imogen Hale](mem_01jcm9s346q3d25vt4f5v37e3s) the van's booked for Thursday instead. Shall I tell her?", "format": "markdown", "delivery": null, "url": "https://app.mavatu.com/kettle-kite/support/cnv_01jd2g7c3n6r0v4y8b1e5h9k2m?part=prt_01jd2h5r8m1q4t7w0y3b6e9g2k", "created_at": "2026-11-12T09:12:40Z", "edited_at": null}List a conversation's messages
GET/conversations/{id}/messages
What was said in a conversation, the newest first (order=asc reads it from the start): the customer's messages, the team's replies and the team's internal notes.
Path
idstringrequiredThe conversation message's ID.
Filters and paging
orderstringdesc (the default: newest first) or asc (from the start).
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/conversations/prt_01jd2h5r8m1q4t7w0y3b6e9g2k/messages?order=asc" \ -H "Authorization: Bearer $MAVATU_API_KEY"Add a note
POST/conversations/{id}/notes
Add an internal note to a conversation, as the key's person: only the team sees it, never the customer. Mention a teammate with @[Their Name](mem_…) and they're told. There's no endpoint that replies to the customer: draft replies with the AI tools, for a person to check and send.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Path
idstringrequiredThe conversation message's ID.
Body
idstringYour own ID for it (prt_…), or leave it out. Sending the same ID again returns the first note.
bodystringrequiredThe note, in Markdown. Mention a teammate with @[Their Name](mem_…) and they're told.
Returns
curl -X POST https://app.mavatu.com/api/v1/conversations/prt_01jd2h5r8m1q4t7w0y3b6e9g2k/notes \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "body": "@[Imogen Hale](mem_01jcm9s346q3d25vt4f5v37e3s) the van'\''s booked for Thursday instead. Shall I tell her?"}'