Skip to main content
Read selected conversation history through GET /api/v1/chats/{chatId}/messages. History reads do not mark read or download media. URL-encode opaque identifiers. Send through POST /api/v1/chats/{chatId}/messages with messages:write, selected-chat access and a stable Idempotency-Key (8–128 letters, digits, underscores or hyphens).
The chat ID and message are invented examples. Select an actual authorised conversation in your own backend.

Quoted replies

Set replyTo to an available message ID in the same conversation. reply_to is an internal transport field and is not the public request property.

Attachments

The API accepts the supported file formats documented in the Inbox guide, with 5 MiB decoded outgoing bytes and 1,000-character captions. Text allows 4,000 characters. File messages use type (pdf, image, document, audio or video), base64 data and filename; caption and replyTo are optional.
Replace the placeholders with validated bytes and an available same-chat message, or omit replyTo. Use the current Message request schema in the API reference for validation; do not use private remote media URLs as public attachments. Retrieve private incoming bytes with GET /api/v1/chats/{chatId}/messages/{messageId}/media. The gateway enforces exact phone/chat/message identity, 32 MiB maximum, Range support and view-once denial. Request media only when needed; keep private downloads out of public storage. A successful send means engine acceptance. Receipts are separate and may be unavailable. Save and inspect uncertain request states before considering another action.