Buy a phone number and optionally configure SMS and Voice
A successful purchase returns HTTP 200 even if setup fails. Inspect setupErrors; never retry the purchase to repair setup. SMS uses the existing workspace SMS route; Voice uses the existing Voice provisioning endpoint.
POST
https://api.channelautomation.com/api/twilio/purchase-numberAuthorization
Header parameters
Request body JSON required
Returns
200
Purchased; configuredChannels, a2pAttachment and setupErrors describe setup results
