Start a channel thread
Send the opening message on a channel and bind the recipient’s phone number to a conversation thread.cURL
POST /messaging/v1/channels/{channel}/threads
whatsapp or sms.Request body
Recipient phone number in E.164 format (e.g.
+14155551234).Continue an existing thread instead of starting a new one. Omitted, a new
thread is created and its id returned.
Your identifier for the user on a new thread. Defaults to the phone number’s
digits.
Opening message body for SMS. WhatsApp ignores it — the opener uses your
approved WhatsApp template.
WhatsApp only: the agent name substituted into the template’s first
variable.
Response
The conversation thread the opener landed on — new or continued.
The provider’s message id for the sent opener, for delivery tracking.
How the conversation continues
Once the thread exists:- The recipient replies on WhatsApp/SMS.
- The reply is routed to your agent on the bound thread.
- The agent’s answer is delivered back on the same channel.
GET /messaging/v1/threads/{threadId}/messages and
inspect its reasoning with traces.
WhatsApp requires the opening message of a business-initiated conversation
to use a pre-approved template;
text applies to SMS only. Channel
configuration (phone numbers, templates) is set up with your AUI contact.