cURL
curl --request GET \ --url https://api.wavix.com/v1/buy/countries/{country}/cities \ --header 'Authorization: Bearer <token>'
{ "cities": [ { "area_code": 113, "id": 128791, "name": "Buenos Aires" }, { "area_code": 341, "id": 132655, "name": "Rosario" }, { "area_code": 351, "id": 132656, "name": "Cordoba" }, { "area_code": 381, "id": 141803, "name": "Tucuman" }, { "area_code": 387, "id": 141986, "name": "Salta" } ] }
Returns a list of cities for countries where has_provinces_or_states is false.
has_provinces_or_states
false
Bearer token using appid (Authorization: Bearer )
Country ID.
1891
Indicates whether to return only cities with text-enabled numbers.
List of cities.
Show child attributes
Was this page helpful?
Contact support