Buy a number
Buys the number on the customer’s own carrier account, points it at the trunk, and registers it, with inbound_agent_id answering it. The carrier charges that account at its own price; Wixzel Voice sells no numbers and adds nothing. Confirm the number and the price with the person before calling this.
Where the number needs regulatory approval, an approved bundle, compliance application or requirement group already on the carrier account is attached automatically. Without one the carrier refuses, and the error says where to get it.
Requires phone_numbers:purchase, which AI clients do not get unless the person ticks it, and an Idempotency-Key header: retrying with the same key returns the first result instead of buying twice. A number that was bought but could not be pointed at us answers 502 bought_not_connected; it stays on the carrier account and can be registered again.
Authorizations
Headers
Body
Response
The number, bought and registered

