Buy
List region cities
Changed onReturns a list of cities in the specified region for countries where has_provinces_or_states is true.
get/v1/buy/countries/{country_id}/regions/{region_id}/cities
Request
- Base URLhttps://api.wavix.com
- URLhttps://api.wavix.com/v1/buy/countries/{country_id}/regions/{region_id}/cities
- AuthHTTP bearer
Path parameters
country_idinteger required
Example:1891
The unique ID of the country.
region_idinteger required
Example:821
The unique ID of the region.
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