Skip to main content
GET
/
v1
/
buy
/
countries
Get a list of 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

Retrieve countries with text-enabled phone numbers only

Response

Request successful.

countries
Country · object[]
required

List of countries that match the search criteria