---
title: "Get Company States"
method: GET
path: "/company-settings/location-settings/countries/{countryId}/states"
tags: ["company"]
---

# Get Company States

`GET /company-settings/location-settings/countries/{countryId}/states`

Use this endpoint to get a list of the states supported by the current company. CountryId must be an existing country supported by the current company. This endpoint will return a paginated response starting from the given record index. StartIndex starts at 0. Default PageSize is 100. Pagination parameters are optional.

## Path parameters

- `countryId` string, integer, required

## Query parameters

- `pageSize` integer
- `recordStartIndex` integer

## Response `200`

OK

- CompanyStatesCollection — Base structure for all paginated collection responses. This provides consistent pagination metadata across all collection endpoints.
  - `count` integer — The total number of items available across all pages. Use this to calculate the total number of pages available.
  - `pageSize` integer — The number of items per page in this response. This reflects either your requested page size or the default value.
  - `pageStartIndex` integer — The starting index of this page of results. Use with pageSize to track your position in the overall result set.
  - `items` State[]
    - `id` number — The id for the state.
    - `_link` string, uri — The URI of the State.
    - `abbreviation` string — The 2 character abbreviation for the State.

## Other responses

- `400` — Bad Request - The server cannot process the request due to a client error. Common causes: - Invalid request format - Missing required fields - Validation errors in the request data
- `401` — Unauthorized - Authentication is required or has failed. Common causes: - Missing API key - Invalid API key - Expired or deactivated API key
- `404` — Not Found - The requested resource does not exist. Common causes: - Invalid subscription ID - Subscription has been deleted - URL path contains typos or incorrect values
- `416` — Range Not Satisfiable - The requested page of results is not available. Common causes: - pageStartIndex is beyond the available data range - Invalid pagination parameters

---

[API](https://skmtc.net/acculynx/apis/acculynx-api-v2.md) · [All operations](https://skmtc.net/acculynx/apis/acculynx-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/acculynx/acculynx-api-v2/revisions/3a9e3886e400/schema)
