---
title: "List states/regions for a country"
method: GET
path: "/api/v1/wholesale/states"
tags: ["Wholesale"]
---

# List states/regions for a country

`GET /api/v1/wholesale/states`

## Request

- Base URL: `https://api.callnode.io`
- URL: `https://api.callnode.io/api/v1/wholesale/states`
- Auth: API key in header `X-Api-Key` and API key in header `X-Timestamp` and API key in header `X-Signature`

Regions for a country. Many countries have none — an empty list means
go straight to areas with just the `countryId`.

## Query parameters

- `countryId` string

## Response `200`

Regions (possibly empty).

- object
  - `states` object[]
    - `stateId` string: Opaque token.
    - `stateName` string

## Other responses

- `401`: Missing, unknown, or badly signed credentials — check the HMAC and the timestamp skew.
- `403`: Wholesale not active, or verification incomplete.

---

[API](https://skmtc.dev/callnode/apis/callnode-outbound-api.md) · [All operations](https://skmtc.dev/callnode/apis/callnode-outbound-api/llms.txt) · [OpenAPI document](https://skmtc.dev/callnode/apis/callnode-outbound-api/revisions/c7da6ad06509?raw)
