Connect WhatsApp to a number

View as Markdown
Connects WhatsApp to an iMessage number you already hold — the second entry point into the same flow that `whatsapp: true` on Provision a phone number takes. 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`; poll until it is `ready` before sending on the channel. Progress and failure are independent of the number's own `setupStatus` — see WhatsApp lines.

Authentication

AuthorizationBearer

Your Dial API key, sent as Authorization: Bearer sk_live_...

Path parameters

idstringRequired
The phone number's ID.

Response

WhatsApp setup started. The number, with its whatsapp track attached.

numberobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
503
Service Unavailable Error