Skip to content
Notice This app is in Beta Testing We are still testing Record Sender, so features may change.
Sign in

Chat — API reference

Team chat: channels, DMs and group DMs, messages, threads, reactions, pins, bookmarks, attachments, search, presence, status, guests and the MongooseIM client config. DMs and private channels are their members' only, admins included.

← All groups
GET /api/v1/chat/attachments/{aid}/content

Download an attachment

Scope: chat:read · chat.attachment

ParameterInTypeDescription
aid *pathstring (uuid)The attachment
Responses 200 · 401 · 403 · 404 · 410 · 429

200 Success

string

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

410 Infected

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/chat/bookmarks

The person's bookmarks

Scope: chat:read · paginated · chat.bookmarks

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

bookmarks * [ChatMessageHit]
fields

ChatMessageHit

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null
message * ChatMessage
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/chat/conversations

The person's conversations (sidebar rows)

Every conversation the person is a member of, with their membership, unread count and the other people of a DM.

Scope: chat:read · paginated · chat.index

ParameterInTypeDescription
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

conversations * [ChatConversationRow]
fields

ChatConversationRow

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
guest boolean The person is a guest here
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
me ChatMember | null
fields

ChatMember

kind string member | guest …
last_read_at string | null
last_read_seq integer | null
muted_until string | null
notify "all" | "mentions" | "none"
role string
user_id string (uuid)
mentioned boolean
message_seq integer
name string | null
org_unit_id string | null
people [ChatUser]
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
shared boolean
slug string | null
title string Display title (the other people for a DM)
topic string | null
unread integer
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

POST /api/v1/chat/conversations

Create a channel

Scope: chat:write · Idempotency-Key · chat.create

Request body application/json
description string
member_ids [string (uuid)] People to add
name * string
org_unit_id string (uuid)
shared boolean Open to guests from outside the account
topic string
visibility "public" | "private" | "announcement"
workspace_id string (uuid)
Responses 201 · 401 · 402 · 403 · 409 · 422 · 429

201 Success

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/chat/conversations/browse

Browse the account's channels

Channels the person can see (public ones and the private ones they are in), by name.

Scope: chat:read · paginated · chat.browse

ParameterInTypeDescription
qquerystringFilter on name or topic
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 429

200 Success

channels * [ChatChannelListing]
fields

ChatChannelListing

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
joined boolean The person is a member
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
members integer Member count
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null
has_more boolean
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/chat/conversations/{id}

A conversation with its members

A DM or private channel is its members' only — admins included; others get 404.

Scope: chat:read · chat.show

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 403 · 404 · 429

200 Success

conversation * ChatConversationDetail
fields

ChatConversationDetail

account_id string (uuid)
archived boolean
can_manage boolean
can_post boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
me ChatMember | null
fields

ChatMember

kind string member | guest …
last_read_at string | null
last_read_seq integer | null
muted_until string | null
notify "all" | "mentions" | "none"
role string
user_id string (uuid)
members [object]
fields
kind string
last_read_at string | null
last_read_seq integer | null
muted_until string | null
notify string
presence "online" | "away" | "dnd" | "offline"
role string
user ChatUser
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string (uuid)
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

PATCH /api/v1/chat/conversations/{id}

Change a channel

Scope: chat:write · chat.update

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
description string
name string
org_unit_id string (uuid)
shared boolean
topic string
visibility "public" | "private" | "announcement"
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Archived

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/archive

Archive or unarchive a channel

Scope: chat:write · Idempotency-Key · chat.archive

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
archived boolean false unarchives (default true)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/attachments

Upload an attachment

Send a multipart `file`, or JSON `data_base64` (with `filename`, `content_type`), or `file_id` of a Files item. Attach it with `attachment_ids` when posting.

Scope: chat:write · Idempotency-Key · chat.upload

ParameterInTypeDescription
id *pathstring (uuid)
Request body multipart/form-data
content_type string
data_base64 string
file string The file
file_id string (uuid) A Files item to attach
filename string
Responses 201 · 401 · 402 · 403 · 404 · 409 · 410 · 413 · 422 · 429 · 507

201 Success

attachment * ChatAttachment
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

410 Infected

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

413 Too large

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

507 Storage full

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)
POST /api/v1/chat/conversations/{id}/guests

Invite a guest to a shared channel

Someone already in the account is added directly (`added`); otherwise an invitation is emailed (201, `invite`).

Scope: chat:write · Idempotency-Key · chat.invite

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
email * string (email)
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

object | object

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Already a member

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/join

Join a public channel

Scope: chat:write · Idempotency-Key · chat.join

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Already a member, or archived

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/leave

Leave a conversation

Scope: chat:write · Idempotency-Key · chat.leave

ParameterInTypeDescription
id *pathstring (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

ChatOk

ok * boolean

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/members

Add people to a channel or group DM

Scope: chat:write · Idempotency-Key · chat.add_members

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
user_ids * [string (uuid)]
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

added * [string (uuid)]

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Archived

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/chat/conversations/{id}/members/{user_id}

Remove someone from a channel

Channel managers; audit-logged.

Scope: chat:write · chat.remove_member

ParameterInTypeDescription
id *pathstring (uuid)
user_id *pathstring (uuid)The member (or guest) to remove
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

ChatOk

ok * boolean

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/chat/conversations/{id}/messages

A page of a conversation's messages

Pages by `seq`: `before` for older messages, `after` for newer ones. A DM or private channel is its members' only — admins included; others get 404.

Scope: chat:read · paginated · chat.messages

ParameterInTypeDescription
id *pathstring (uuid)
limitqueryintegerDefault 50, at most 200
beforequeryintegerMessages with a seq below this
afterqueryintegerMessages with a seq above this
cursorquerystringThe `next_cursor` of the previous page
Responses 200 · 401 · 403 · 404 · 429

200 Success

has_more boolean
messages * [ChatMessage]
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/messages

Post a message

A body starting with a slash command may answer `{ephemeral: text}` (200, shown to the person only) instead of a message.

Scope: chat:write · Idempotency-Key · chat.post

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
attachment_ids [string (uuid)] Attachments uploaded to this conversation
body * string Rich text (sanitised HTML) or plain text; @handles mention
client_ref string The client's own id, echoed back for de-duplication
parent_id string (uuid) Reply in this message's thread
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

object | object

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Archived

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

422 Problem details (422)

429 Problem details (429)

PUT /api/v1/chat/conversations/{id}/notify

The person's notification setting for a conversation

Scope: chat:write · chat.notify

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
muted_until string | null
notify "all" | "mentions" | "none"
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

me * ChatMember
fields

ChatMember

kind string member | guest …
last_read_at string | null
last_read_seq integer | null
muted_until string | null
notify "all" | "mentions" | "none"
role string
user_id string (uuid)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/chat/conversations/{id}/pins

Pinned messages

Scope: chat:read · paginated · chat.pins

ParameterInTypeDescription
id *pathstring (uuid)
cursorquerystringThe `next_cursor` of the previous page
limitqueryintegerPage size
Responses 200 · 401 · 403 · 404 · 429

200 Success

has_more boolean
messages * [ChatMessage]
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null
next_cursor string | null Pass as `cursor` for the next page; null on the last

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/read

Move the read pointer

Scope: chat:write · Idempotency-Key · chat.read

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
seq integer The last message seq read (default: the latest)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

ChatOk

ok * boolean

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/conversations/{id}/typing

Say the person is typing

Scope: chat:write · Idempotency-Key · chat.typing

ParameterInTypeDescription
id *pathstring (uuid)
Request body application/json
thread_id string (uuid) The thread root when typing in a thread
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

ChatOk

ok * boolean

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/dms

Open (or find) a DM

One other person: a 1:1 DM; several: a group DM; none: notes to self. A DM the person had closed comes back. A DM or private channel is its members' only — admins included; others get 404.

Scope: chat:write · Idempotency-Key · chat.dm

Request body application/json
user_ids * [string (uuid)]
Responses 200 · 401 · 402 · 403 · 409 · 422 · 429

200 Success

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/invites/{token}/accept

Accept a guest invitation

The signed-in person's address must be the one invited.

Scope: chat:write · Idempotency-Key · chat.accept_invite

ParameterInTypeDescription
token *pathstringThe invitation token
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

conversation * ChatConversation
fields

ChatConversation

account_id string (uuid)
archived boolean
created_at string (date-time)
description string | null
id * string (uuid)
kind "dm" | "group" | "channel" | "meeting"
last_message_at string | null
message_seq integer
name string | null
org_unit_id string | null
shared boolean
slug string | null
topic string | null
updated_at string (date-time)
visibility "public" | "private" | "announcement"
workspace_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/chat/messages/{mid}

Delete a message

The message stays as a tombstone (`deleted: true`, empty body).

Scope: chat:write · chat.delete

ParameterInTypeDescription
mid *pathstring (uuid)The message
Responses 200 · 401 · 402 · 403 · 404 · 422 · 423 · 429

200 Success

message * ChatMessage
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

423 Under legal hold

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/chat/messages/{mid}

One message (optionally with its thread)

Scope: chat:read · chat.message

ParameterInTypeDescription
mid *pathstring (uuid)The message
threadquerybooleanInclude the thread's replies (root messages only)
Responses 200 · 401 · 403 · 404 · 429

200 Success

message * ChatMessage
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null
replies array | null
revisions integer Number of earlier versions

401 Problem details (401)

403 Problem details (403)

404 Problem details (404)

429 Problem details (429)

PATCH /api/v1/chat/messages/{mid}

Edit a message

Scope: chat:write · chat.edit

ParameterInTypeDescription
mid *pathstring (uuid)The message
Request body application/json
body * string
Responses 200 · 401 · 402 · 403 · 404 · 422 · 423 · 429

200 Success

message * ChatMessage
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

423 Under legal hold

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

POST /api/v1/chat/messages/{mid}/bookmark

Bookmark or unbookmark a message

Scope: chat:write · Idempotency-Key · chat.bookmark

ParameterInTypeDescription
mid *pathstring (uuid)The message
Request body application/json
bookmarked boolean false removes (default true)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

bookmarked * boolean

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/messages/{mid}/forward

Forward a message to another conversation

Scope: chat:write · Idempotency-Key · chat.forward

ParameterInTypeDescription
mid *pathstring (uuid)The message
Request body application/json
comment string
conversation_id * string (uuid) The target conversation
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429

201 Success

message * ChatMessage
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/messages/{mid}/pin

Pin or unpin a message

Scope: chat:write · Idempotency-Key · chat.pin

ParameterInTypeDescription
mid *pathstring (uuid)The message
Request body application/json
pinned boolean false unpins (default true)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

message * ChatMessage
fields

ChatMessage

attachments [ChatAttachment]
fields

ChatAttachment

content_type string
filename string
id * string (uuid)
kind string
message_id string | null
scan_status string
sha256 string
size integer
url string Download path
body string Rich text (empty when deleted)
client_ref string | null
conversation_id string (uuid)
created_at string (date-time)
deleted boolean
edited_at string | null
forwarded_from_id string | null
id * string (uuid)
kind string user | system …
link_previews [object]
mention_all boolean
mentions [string (uuid)]
metadata object System message details (empty otherwise)
parent_id string | null Thread root
pinned boolean
reactions [object]
fields
count integer
emoji string
mine boolean
user_ids [string (uuid)]
seq integer
text string Plain text (empty when deleted)
thread_count integer
thread_last_at string | null
updated_at string (date-time)
user ChatUser | null
fields

ChatUser

email string (email)
handle string
id * string (uuid)
name string | null
user_id string | null

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

POST /api/v1/chat/messages/{mid}/reactions

React with an emoji

Scope: chat:write · Idempotency-Key · chat.react

ParameterInTypeDescription
mid *pathstring (uuid)The message
Request body application/json
emoji * string
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429

200 Success

reaction * "added" | "removed"

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

409 Problem details (409)

422 Problem details (422)

429 Problem details (429)

DELETE /api/v1/chat/messages/{mid}/reactions/{emoji}

Take a reaction back

Scope: chat:write · chat.unreact

ParameterInTypeDescription
mid *pathstring (uuid)The message
emoji *pathstringThe emoji (URL-encoded)
Responses 200 · 401 · 402 · 403 · 404 · 422 · 429

200 Success

reaction * "removed"

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

404 Problem details (404)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/chat/people

The people you can message, invite or ring

The account's active members — the web's pickers, for a new conversation, meeting guests and call routing: never AI agents, never the person themselves; a business account's organization units too (`[]` in a personal account). Also at `GET /api/v1/people`.

Scope: chat:read · chat.people

Responses 200 · 401 · 403 · 429

200 Success

people * [object]
fields
email string (email)
handle string | null
id * string (uuid)
name string | null
units * [object]
fields
id string (uuid)
name string

401 Problem details (401)

403 no_person: the key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)

GET /api/v1/chat/presence

Presence of people

Scope: chat:read · chat.presence

ParameterInTypeDescription
user_ids *querystringComma-separated user ids (at most 200)
Responses 200 · 401 · 403 · 429

200 Success

presence * [object]
fields
state "online" | "away" | "dnd" | "offline"
status any Custom status, or null
user_id string (uuid)

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/chat/status

The person's own presence and status

Scope: chat:read · chat.status

Responses 200 · 401 · 403 · 429

200 Success

status * ChatStatus
fields

ChatStatus

availability "auto" | "away" | "dnd" | "invisible"
brain_dms boolean
dnd_now boolean
dnd_schedule object | null
state string | null online | away | dnd | offline (null right after setting)
status object | null
fields
emoji string | null
expires_at string | null
text string | null
user_id string (uuid)

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

PUT /api/v1/chat/status

Set availability and custom status

Scope: chat:write · chat.set_status

Request body application/json
availability "auto" | "away" | "dnd" | "invisible"
brain_dms boolean Let the brain read the person's own DMs
dnd_schedule object
fields
days [integer]
enabled boolean
from string
offset_minutes integer
to string
status_emoji string | null
status_expires_at string | null
status_expires_in integer Seconds (instead of status_expires_at)
status_text string | null At most 100 characters
Responses 200 · 401 · 402 · 403 · 422 · 429

200 Success

status * ChatStatus
fields

ChatStatus

availability "auto" | "away" | "dnd" | "invisible"
brain_dms boolean
dnd_now boolean
dnd_schedule object | null
state string | null online | away | dnd | offline (null right after setting)
status object | null
fields
emoji string | null
expires_at string | null
text string | null
user_id string (uuid)

401 Problem details (401)

402 Problem details (402)

403 Problem details (403)

422 Problem details (422)

429 Problem details (429)

GET /api/v1/chat/xmpp

MongooseIM client config

What a device needs to sign in to MongooseIM (a one-hour JWT), or `enabled: false` when XMPP is off.

Scope: chat:read · chat.xmpp

Responses 200 · 401 · 403 · 429

200 Success

domain string
enabled * boolean
expires_at string (date-time)
expires_in integer
jid string
namespace string
service_jid string
token string
websocket_url string (uri)

401 Problem details (401)

403 Problem details (403)

429 Problem details (429)

GET /api/v1/people

The people you can message, invite or ring

The account's active members — the web's pickers, for a new conversation, meeting guests and call routing: never AI agents, never the person themselves; a business account's organization units too (`[]` in a personal account). Also at `GET /api/v1/people`.

Scope: chat:read · chat.people_get

Responses 200 · 401 · 403 · 429

200 Success

people * [object]
fields
email string (email)
handle string | null
id * string (uuid)
name string | null
units * [object]
fields
id string (uuid)
name string

401 Problem details (401)

403 no_person: the key acts for no person

Problem

code * string Stable machine-readable code (snake_case)
detail string A sentence an app can show
error object | string Legacy member kept for existing clients (deprecated)
errors object Field → messages, for validation errors
instance string The request path
message string Legacy member of the mobile sign-in errors (deprecated)
request_id string
status * integer
title * string
type string (uri) A URI identifying the problem type (https://recordsender.com/problems/<code>)

429 Problem details (429)