The number object
GET /numbers returns each messaging number on your account in this shape.
registration.status is one of not_registered, draft, pending, approved, rejected or not_required. A US number reports sendable.usDomestic: true only once its 10DLC campaign is approved or its toll-free verification is complete.
Endpoints
How buying a number works
1
Find a country
Call
GET /numbers/countries. The list is a snapshot that refreshes in the background; while ready is false, retry after a few seconds. India is not listed, because Indian traffic uses DLT-registered sender IDs (see India DLT).2
Search the inventory
Call
GET /numbers/available with country, and optionally capabilities (SMS, MMS), areaCode (US and CA) and contains. Each search returns up to 10 numbers with setupPrice, monthlyPrice and currency.3
Buy it
Send the chosen
e164 and country to POST /numbers/purchase. Include numberKey when the search result has a non-empty one, as Canadian and UK numbers do; US numbers are bought by e164 alone.4
Register it before you send to the US
A new US number can send internationally straight away. To reach US recipients, attach it to an approved 10DLC campaign or complete toll-free verification, then confirm
sendable.usDomestic is true.Search example
cURL
Response
Search rules
A country Vobiz does not sell numbers in returns
422 with SMS numbers are not sold for country XX. A search for country=IN returns an empty list and a hint.
Billing and lifecycle
Each purchase inGET /numbers/purchases has a status and a charges array.
Each charge has
kind (purchase for setup plus first month, rental for each renewal) and status (pending, paid, failed, refunded). Released numbers stay in the list, so it is a complete billing history.
To release a number, URL-encode the + in the path as %2B, for example POST /numbers/%2B14155550100/release. The number stops sending and receiving immediately. Numbers that were not bought through Vobiz return 409; contact support to release those.
Related
Numbers guide
Buy, register and bring your own numbers, with console steps.
US 10DLC campaigns
Attach US long numbers to an approved campaign.
US toll-free verification
Verify toll-free numbers for US traffic.
Messaging compliance
Registration rules by country before you send.