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

Authorizations

appid
string
query
required

An API key to authorize your request

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

regions
Region · object[]
required

A list of regions that match the search criteria