Buy
List cities
Changed onReturns a list of cities for countries where has_provinces_or_states is false.
get/v1/buy/countries/{country_id}/cities
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/buy/countries/{country_id}/cities
- AuthHTTP bearer
Path parameters
country_idinteger required
Example:1891
The unique ID of the country.
Query parameters
text_enabled_onlyboolean
When true, returns only cities that offer text-enabled numbers.
Response
Returns the list of cities.
Example response
{
"cities": [
{
"id": 3213,
"name": "Paris"
}
]
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the required property
to the response with the status
- breaking