Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Reference

This is the complete HTTP API, generated from the server's OpenAPI specification (via utoipa) and rendered with Scalar. The specification is regenerated on every docs build, so it always matches the running node. For request signing, the message lifecycle, and end-to-end examples, read Building a Client first.

The interactive explorer below loads its viewer from a CDN, so it needs network access to render. Offline, use the raw specification at openapi.json, or the Swagger UI served by any running node at /swagger-ui.

Open the interactive API reference in full screen →

Endpoints at a glance

MethodPathDescription
GET/conversationsList the caller's chats with unread counts
POST/dialogs/{peer}/messagesSend a direct text message
POST/dialogs/{peer}/messages/controlSend a direct control (E2EE) message
GET/dialogs/{peer}/messagesFetch direct message history (paginated)
POST/dialogs/{peer}/messages/readMark direct messages as read
POST/groups/{chat_id}/opsCompound membership operations (create/add/remove)
DELETE/groups/{chat_id}/membershipLeave a group
POST/groups/{chat_id}/messagesSend a group text message
POST/groups/{chat_id}/messages/controlSend a group control (E2EE) message
GET/groups/{chat_id}/messagesFetch group message history (paginated)
POST/groups/{chat_id}/messages/readMark group messages as read
GET/groups/{chat_id}/membersList group members and their roles
PUT/identityPublish the caller's identity blob
GET/identity/{address}Fetch a user's identity blob

Every endpoint requires the authentication headers described in Building a Client and summarized in API Overview. See Cryptography & Authentication for the signing algorithm.