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:
- For countries with states/provinces, use region-specific endpoint instead
- Each city includes count of available DIDs
- Cities are returned with area codes
When to use:
- Building city selection for countries without states
- Checking DID availability by city
- Displaying available locations to users
Authentication:
- Requires Bearer token in Authorization header:
Authorization: Bearer <token>
Request
Responses
- 200
- 401
- 403
- 404
returns list of cities
returns unauthorized
returns forbidden
returns not found