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
Your Wixzel Voice API key: Authorization: Bearer wv_live_.... Keys are scoped; grant only what the integration needs.
Headers
A unique value per purchase attempt, e.g. a UUID.
1 - 255Body
A trunk made by connecting a carrier account. The number is bought on that account.
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
^\+[1-9]\d{6,14}$"+14155550100"
The country you searched in.
^[A-Z]{2}$"IN"
The type you searched for. Used to find the approved regulatory documents it needs.
local, mobile, toll_free 200Answers inbound calls to the number. It also becomes the agent’s caller id if the agent has none.
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
Response
The number, bought and registered
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
phone_number ^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
^[0-9a-f]{24}$"6a96a3ead6e886d42462dd3e"
ISO 8601, always UTC.
"2026-09-01T12:00:00.000Z"
pending when the carrier took the order and is still processing it, which can take a few minutes for numbers that need regulatory review. The number is registered either way.
complete, pending 
