Skip to main content
POST
Send a message

Authorizations

Authorization
string
header
required

Company-owned API token. Supply Authorization: Bearer YOUR_CCONNECT_API_TOKEN. Never use provider tokens or member passwords. Tokens are shown only once when created.

Headers

Idempotency-Key
string
required

Unique per operation and company, 1–128 visible ASCII characters. Identical retries return the original 202 acceptance and message ID. Changed requests return 409. Retained for the company lifetime. Check the message resource for current status.

Required string length: 1 - 128

Body

application/json
channel
enum<string>
required
Available options:
whatsapp,
email
Minimum string length: 1
Pattern: ^(whatsapp|email)$
channel_id
string
required
Required string length: 1 - 200
to
string | null

E.164 number with a leading +, required for WhatsApp. Omit for email.

Maximum string length: 16
text
string | null

WhatsApp text: 1–4096 characters within the 24-hour reply window. Email reply: 1–10000 characters. Omit when using a template.

Maximum string length: 10000
template
object
ticket_id
string<uuid> | null

Required for email replies; the ticket must use channel_id. Omit for WhatsApp.

Response

Accepted

data
object