POST
Send a message

Body

application/json
channel_id
string
required

Channel ID to send through

Minimum string length: 1
content
any
required

Message content payload

type
string
required

Message type (e.g. text, image, template)

Minimum string length: 1
conversation_id
string

Conversation ID (optional)

to
string

Recipient phone number

to_phone
string

Recipient phone number (alias for to)

Response

Created

channel_id
string
required
content
any
required
conversation_id
string | null
required
created_at
string
required
delivered_at
string | null
required
direction
string
required
error
string | null
required
error_code
string | null
required
external_message_id
string | null
required
failed_at
string | null
required
id
string
required
max_retries
integer<int32>
required
metadata
any
required
organization_id
string
required
provider_message_id
string | null
required
queued_at
string | null
required
read_at
string | null
required
retry_count
integer<int32>
required
sender_phone
string | null
required
sending_at
string | null
required
sent_at
string | null
required
sent_by
string | null
required
sent_via
string | null
required
status
string
required
to_phone
string
required
type
string
required
updated_at
string
required
reply_preview
object