Skip to main content
POST
Send one message

Authorizations

Authorization
string
header
required

Agent Token (rly_live_…), shown once when the agent is created.

Path Parameters

chat_id
string
required
Pattern: ^cnv_[0-9a-hjkmnp-tv-z]{26}$

Body

application/json
message_id
string
required

The client mints this before queueing the send: a lowercase Crockford base32 ULID with a msg_ prefix. It is the canonical id of the resulting message and the send's idempotency key, and unlike /v1 it is required.

Pattern: ^msg_[0-9a-hjkmnp-tv-z]{26}$
Example:

"msg_01k1m4q9vn2r7t9b4c6qdh8xwy"

parts
object[]
required

Ordered parts of one message.

Required array length: 1 - 32 elements
reply_to
object | null

A reply target on a send: a message of this conversation, optionally one exact part of it.

text
string

Plain-language representation for notifications and search.

Response

The committed message.

message
object
required

One committed message. Content is immutable: there is no edit, no unsend, no version and no tombstone, so a message a client has stored never changes underneath it. Only the receipt stamps and the reactions move.