Connect WhatsApp to a number
Connects WhatsApp to an iMessage number you already hold. Unlike
whatsapp: true on Provision a phone number, which hands you a number
whose WhatsApp is already set up and warmed, this registers WhatsApp on
your own number and then warms it before it can send.
WhatsApp is in beta and enabled per account. Without access this
endpoint answers 404, not 403: to such an account the capability
does not exist, which is also what the dashboard shows. Contact support
to request access.
Asynchronous. The response carries the number as List phone numbers
reports it, with whatsapp.status at provisioning. It then moves to
warming_up once registered — the number warms up before its first
use, which takes about 6 hours — and to ready after that; each move is announced by number.status_changed.
Wait for ready before sending on the channel. On an iMessage number,
call settles in the same event that moves WhatsApp to warming_up.
Progress and failure are independent of the number’s own setupStatus
— see WhatsApp lines.
Authentication
Your Dial API key, sent as Authorization: Bearer sk_live_...
Path parameters
Response
WhatsApp setup started. The number, with its whatsapp track attached.