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
{
  "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
required

Country ID

Example:

1892

Query Parameters

type_filter
string
text_enabled_only
boolean

Retrieve only regions with text-enabled numbers

Response

regions
Region · object[]
required

A list of regions with cities containing phone numbers available for purchase

I