Skip to main content
GET
/
v1
/
buy
/
countries
/
{country}
/
regions
Get a list of regions
curl --request GET \
  --url https://api.wavix.com/v1/buy/countries/{country}/regions \
  --header 'Authorization: Bearer <token>'
{
  "regions": [
    {
      "id": 13,
      "name": "Alabama"
    },
    {
      "id": 15,
      "name": "Arizona"
    },
    {
      "id": 16,
      "name": "Arkansas"
    },
    {
      "id": 17,
      "name": "California"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token using appid (Authorization: Bearer )

Path Parameters

country
integer<int32>
required

Country unique ID

Example:

1892

Query Parameters

text_enabled_only
boolean

Retrieves only regions that offer text-enabled numbers

Response

Request successful.

regions
Region · object[]
required

A list of regions that match the search criteria