---
title: "Get reason codes by site"
method: GET
path: "/services/appointments/v1/reasoncodes"
tags: ["Reason Codes"]
---

# Get reason codes by site

`GET /services/appointments/v1/reasoncodes`

## Request

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

Retrieve reason codes available for a specific site

## Query parameters

- `siteCode` string, required

## Response `200`

Reason codes retrieved successfully

- ReasonCodeListResponse
  - `reasonCodes` string[]: List of reason codes
  - `status` string: Status of the operation

## Other responses

- `400`: Bad request - Invalid query parameters
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Site not found

---

[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)
