Skip to main content
GET
/
v1
/
buy
/
countries
List countries
curl --request GET \
  --url https://api.wavix.com/v1/buy/countries \
  --header 'Authorization: Bearer <token>'
{
  "countries": [
    {
      "id": 8669,
      "has_provinces_or_states": false,
      "name": "Argentina"
    },
    {
      "id": 8650,
      "has_provinces_or_states": true,
      "name": "Australia"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token using appid (Authorization: Bearer )

Query Parameters

text_enabled_only
boolean

Indicates whether to return only countries with text-enabled phone numbers.

Response

List of countries.

countries
Country · object[]
required