List NANP regions
GET/api/v2/numbers/countries/:country_id/regions
Retrieve a list of states or provinces within a country (e.g., US states, Canadian provinces).
Important notes:
- Only applicable for countries with
has_provinces_or_states: true - Returns 404 for countries without regional divisions
- Use this before querying cities in countries with states/provinces
When to use:
- Building state/province selection for US, Canada, etc.
- Filtering DID search by region
Authentication:
- Requires Bearer token in Authorization header:
Authorization: Bearer <token>
Request
Responses
- 200
- 401
- 403
- 404
returns list of regions
returns unauthorized
returns forbidden
returns not found