Tonedocs
API referencePhone numbers

Telecom circles that can be searched

The circle codes to pass as the region filter when searching — the circles at least one carrier Tone sells from has stock in, sorted by name. Pass provider for one carrier’s circles only.

Requires the read scope. A key with less gets 403 insufficient_scope.

GET
/v1/numbers/regions
AuthorizationBearer <token>

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

provider?string

Only this carrier — one of the provider values GET /v1/numbers/carriers lists. Omit to include every carrier Tone sells from. Naming a carrier that is not selling right now is a 422.

Value in

  • "exotel"
  • "voicelink"
  • "plivo"
  • "vobiz"
  • "sandbox"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/numbers/regions"
{  "data": [    {      "code": "KA",      "label": "Karnataka"    }  ]}
Was this page helpful?