Messages
Read your conversations and project conversations, and post, edit or delete messages.
#The Messages inbox
/conversationsQuery parameters
filter[kind] | array of string | |
filter[unread] | boolean | |
filter[state] | string | One of: |
q | string | Min length 1 · Max length 120 |
page[size] | integer | One of: |
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The member's conversations by last activity, with unread counts.application/json
#Start a direct conversation (200 when the pair exists) or create a group
/conversationsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The existing direct conversation of the pair.application/json
201The new conversation.application/json
#One conversation with its channel, roster and permissions
/conversations/{conversationId}Path parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The conversation document; the ETag carries the version.application/json
#Rename a group
/conversations/{conversationId}Path parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/merge-patch+jsonrequired
Loading the schema…
Responses
200The renamed group.application/json
#Archive a group — read-only from now on
/conversations/{conversationId}/archivePath parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
200The archived group.application/json
#Leave a group
/conversations/{conversationId}/leavePath parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Responses
204Left; the group is gone from the caller's inbox.
No body.
#A page of messages by sequence (latest page without parameters)
/conversations/{conversationId}/messagesPath parameters
conversationIdrequired | string (uuid) |
Query parameters
after | integer | Min 0 |
before | integer | Min 1 |
limit | integer | Default: |
period | integer | A client period number of a project conversation, internal readers only. Min 1 |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200Messages ascending by sequence with tombstones and attachment statuses.application/json
#Post a message in a conversation
/conversations/{conversationId}/messagesPath parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The posted message.application/json
#Mute or unmute a conversation for the caller
/conversations/{conversationId}/mutePath parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Request body application/jsonrequired
Loading the schema…
Responses
200The caller's read state for the conversation.application/json
#Add members to a group
/conversations/{conversationId}/participantsPath parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The group with its new roster.application/json
#Remove a participant from a group — access ends at once
/conversations/{conversationId}/participants/{memberId}Path parameters
conversationIdrequired | string (uuid) | |
memberIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
204Removed.
No body.
#Move the caller's read marker (monotonic)
/conversations/{conversationId}/readPath parameters
conversationIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Request body application/jsonrequired
Loading the schema…
Responses
200The caller's read state for the conversation.application/json
#The sidebar badge — conversations with unread messages
/conversations/unread-summaryHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The number of conversations with unread messages, capped, split by kind.application/json
#Edit a message inside the edit window
/messages/{messageId}Path parameters
messageIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/merge-patch+jsonrequired
Loading the schema…
Responses
200The edited message.application/json
#Delete a message — the author, the rule's owner or a moderator
/messages/{messageId}Path parameters
messageIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
204Deleted (or already deleted).
No body.
#Search the caller's visible messages
/messages/searchQuery parameters
qrequired | string | Min length 2 · Max length 120 |
filter[conversationId] | string (uuid) | |
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200Up to 20 hits, newest first, with excerpts.application/json
#The project's client conversation, created on first use, with its client periods
/projects/{projectKey}/conversationPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The conversation document with periods, the banner fact and permissions; the ETag carries the version.application/json
#The tenant's allowed reaction emoji, for every person who may react (internal members and client guests)
/reaction-emojiHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The mode, the list for only, the catalogue's versions and the per-comment bound; ETag is the Work settings epoch.application/json
#Set the tenant's allowed reaction emoji (the Admin; one Save of the mode and the list)
/reaction-emojiHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The new state; ETag is the new Work settings epoch.application/json
Was this helpful?