Use this method to get a list of cities with DIDs available for purchase. Use this method if has_provinces_or_states
if the country is false.
This endpoint requires authentication.
GET /buy/countries/{country_id}/cities
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/218/cities' \
-H 'Accept: application/json' \
-d 'appid=appid' \
-d 'type_filter=geo'