---
title: "Get site codes"
method: GET
path: "/services/appointments/v1/sitecodes"
tags: ["Site Codes"]
---

# Get site codes

`GET /services/appointments/v1/sitecodes`

## Request

- Base URL: `https://na12.api.project44.com`
- URL: `https://na12.api.project44.com/services/appointments/v1/sitecodes`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/api/v4/oauth2/token`
- TypeScript: <https://skmtc.dev/project44/apis/project44-rest-api/docs/services/appointments/v1/sitecodes/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve all active site codes for the organization

## Response `200`

Site codes retrieved successfully

- SiteCodeListResponse
  - `status` string: Status of the operation
  - `sites` object[]: List of active site codes with their names and location identifiers
    - `code` string
    - `name` string
    - `locationIdentifiers` string[]

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/project44/apis/project44-rest-api.md) - [All operations](https://skmtc.dev/project44/apis/project44-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/project44/apis/project44-rest-api/revisions/cdf9675e2294?raw)
