get list of countries
Use this method to get a list of countries with DIDs available for purchase.
This endpoint requires authentication.
GET /buy/countries
Name | Description |
---|---|
type_filter Query | Return only locations with the number type specified |
text_enabled_only Query | Boolean Return only locations with SMS enabled DIDs |
HTTP Status Code | Error Description | Exception Class |
---|---|---|
403 | Request failed. The feature is disabled for the account. |
|
curl -X GET -G \
--url 'https://api.wavix.com/v1/buy/countries' \
-H 'Accept: application/json' \
-d 'appid=appid' \
-d 'type_filter=geo'