Skip to main content
GET
/
buy
/
countries
Get a list of countries
curl --request GET \
  --url 'https://api.wavix.com/v1/buy/countries?appid='
{
  "countries": [
    {
      "id": 8669,
      "has_provinces_or_states": false,
      "name": "Argentina"
    },
    {
      "id": 8650,
      "has_provinces_or_states": true,
      "name": "Australia"
    }
  ]
}

Authorizations

appid
string
query
required

An API key to authorize your request

Query Parameters

text_enabled_only
boolean

Retrieve countries with text-enabled phone numbers only

Response

countries
Country · object[]
required

List of countries that match the search criteria