Skip to main content

List cities

GET 

/api/v2/numbers/countries/:country_id/cities

Retrieve a list of cities within a country where DID numbers are available.

Important notes:

When to use:

  • Building city selection for countries without states
  • Checking DID availability by city
  • Displaying available locations to users

cities[].id feeds numbers_countries_cities_dids_index and numbers_search_show (city_id).

Request​

Responses​

returns list of cities