Search the carrier for numbers available to buy
Live carrier inventory, so results go stale — a number can be taken between this call and your purchase, which is a 409 number_unavailable. Only regular numbers are offered: the 140 and 160 series are not purchasable through any carrier API.
Requires the read scope. A key with less gets 403 insufficient_scope.
Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.
In: header
Query Parameters
Which kind of number to search for. Open set — handle an unrecognised value rather than throwing. Today: landline, mobile, tollfree.
"landline"Value in
- "landline"
- "mobile"
- "tollfree"
Telecom circle code, uppercase — list them with GET /v1/numbers/regions. Omit to search the carrier default pool.
^[A-Z]+$2 <= length <= 4Digits the number must contain. Digits only — carriers treat other characters inconsistently.
^\d{1,10}$Only numbers that can also send SMS. Note that SMS itself additionally requires DLT registration.
Value in
- "0"
- "1"
- "true"
- "false"
How many results to return. 1-50, defaulting to 20.
1 <= value <= 5020Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/numbers/available"{ "data": [ { "capabilities": { "sms": false, "voice": true }, "e164": "+918045678901", "numberType": "landline", "region": "KA", "rentalPaise": 0, "setupPaise": 0, "totalPaise": 0 } ]}Assign a sandbox number — 140/160 require an approved DLT PE ID
Allocates a free number from the sandbox pool. No carrier is contacted and nothing is charged — this is the number you build against before any paperwork exists.
Remove the SIP trunk pair and return the number to tone_agent mode
Tears down the trunk. The number itself is kept — this is not a release.