---
title: "Retrieve all locations"
method: GET
path: "/v1/locations"
tags: ["Locations"]
---

# Retrieve all locations

`GET /v1/locations`

Returns a list of locations associated with your account.

## Query parameters

- `id` string
- `first` string
- `after` string
- `last` string
- `before` string

## Headers

- `x-api-key` string, required

## Response `200`

Success

- LocationsConnection
  - `edges` object[], required
    - `cursor` string, required
    - `node` Location, required
      - `id` string, required
      - `status` 'active' | 'inactive', required
      - `address` object, required
        - `line1` string, required
        - `line2` string, required
        - `city` string, required
        - `state` string, required
        - `postalCode` string, required
      - `type` 'cmra' | 'registeredAgent', required
      - `onboarding` object, required
        - `status` 'authorize' | 'sign' | 'verify' | 'complete', required
      - `metadata` object, required
  - `pageInfo` object, required
    - `endCursor` string
    - `hasNextPage` boolean, required
    - `hasPreviousPage` boolean, required
    - `startCursor` string
  - `totalCount` number, required

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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