Discuss channels
Channels, what's said in them, and posting there as yourself. 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 channel object
A channel in Discuss: public ones anyone on the team can join, and private ones for those added to them.
objectstringAlways channel.
idstringnamestringWithout its #: launch-plan.
kindstringpublic: anyone on the team can find and join it; private: only those added to it.
topicstringpurposestringexternalbooleanShared with people from outside the team.
member_countintegerjoinedbooleanThe key's person is in it.
archived_attimeor nullWhen it was archived: it can be read, not posted in.
last_message_attimeor nullurlstringcreated_attime
{ "object": "channel", "id": "chn_01jc8w3n6q0t4x7a1d5g9j2m6p", "name": "honeybee-rebrand", "kind": "public", "topic": "Honeybee's new look, from brief to launch", "purpose": "Everything about the Honeybee Bakery rebrand.", "external": false, "member_count": 6, "joined": true, "archived_at": null, "last_message_at": "2026-11-12T10:06:12Z", "url": "https://app.mavatu.com/kettle-kite/discuss/chn_01jc8w3n6q0t4x7a1d5g9j2m6p", "created_at": "2026-10-01T09:30:00Z"}List channels
GET/channels
The channels the key's person is in, and the public ones they could join, the newest first. Archived ones only with include_archived. Direct messages aren't listed.
Filters and paging
include_archivedbooleanArchived channels too.
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/channels?limit=100" \ -H "Authorization: Bearer $MAVATU_API_KEY"The message object
Something said in a Discuss channel, or a reply in one of its threads.
objectstringAlways message.
idstringchannel{id, name}kindstringmessage: what someone wrote; system: what happened in the channel (someone joined, the topic changed); feed: an update about a record the channel follows; webhook: posted by another tool through the channel's incoming webhook; meeting: a call started there.
author{id, name}or nullWho wrote it; null for feed and webhook posts.
bodystringMarkdown. Mentions are @[Name](mem_…).
thread_root_idstringor nullThe first message of the thread it replies in; null for a message in the channel itself.
reply_countintegerReplies in its thread, for a thread's first message.
viastringor nullWhat it was posted through: an incoming webhook's name, an AI app, or API.
urlstringcreated_attimeedited_attimeor null
{ "object": "message", "id": "msg_01jd2k0b4f7j1m5p8s2v6y9c3g", "channel": { "id": "chn_01jc8w3n6q0t4x7a1d5g9j2m6p", "name": "honeybee-rebrand" }, "kind": "message", "author": { "id": "mem_01jcm9s346q3d25vt4f5v37e3s", "name": "Imogen Hale" }, "body": "Priya signed the proposal 🎉 @[Wren Abbott](mem_01jc3e28jt97kb6cq643dzvmxx), can you set up the kickoff?", "thread_root_id": null, "reply_count": 2, "via": null, "url": "https://app.mavatu.com/kettle-kite/discuss/chn_01jc8w3n6q0t4x7a1d5g9j2m6p?m=msg_01jd2k0b4f7j1m5p8s2v6y9c3g", "created_at": "2026-11-12T10:06:12Z", "edited_at": null}List a channel's messages
GET/channels/{id}/messages
Messages in a channel, thread replies included, the newest first. thread_root_id reads one thread's replies.
Path
idstringrequiredThe message's ID.
Filters and paging
thread_root_idstringOnly the replies in this thread, by its first message's ID.
limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
Returns
curl "https://app.mavatu.com/api/v1/channels/msg_01jd2k0b4f7j1m5p8s2v6y9c3g/messages?limit=10" \ -H "Authorization: Bearer $MAVATU_API_KEY"Post a message
POST/channels/{id}/messages
Post in a channel as the key's person, or reply in a thread with thread_root_id. Posting in a public channel they're not in joins it. Markdown works; mention someone with @[Their Name](mem_…), and they're told.
Needs a key that can read and change. Send an Idempotency-Key to try it again safely.
Path
idstringrequiredThe message's ID.
Body
idstringYour own ID for it (msg_…), or leave it out. Sending the same ID again returns the first message.
bodystringrequiredMarkdown. Mention someone with @[Their Name](mem_…) and they're told; @channel tells everyone in it.
thread_root_idstringReply in a thread: its first message's ID.
Returns
curl -X POST https://app.mavatu.com/api/v1/channels/msg_01jd2k0b4f7j1m5p8s2v6y9c3g/messages \ -H "Authorization: Bearer $MAVATU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "body": "Priya signed the proposal 🎉 @[Wren Abbott](mem_01jc3e28jt97kb6cq643dzvmxx), can you set up the kickoff?"}'