---
title: "List Availability Reasons"
method: GET
path: "/v2/company/{company_id}/availability_reasons"
tags: ["Availability"]
---

# List Availability Reasons

`GET /v2/company/{company_id}/availability_reasons`

## Path parameters

- `company_id` integer, required

## Query parameters

- `cursor` string
- `limit` integer

## Headers

- `x-api-version` string — An API version
- `x-company-guid` string, uuid

## Response `200`

Success

- object
  - `object` 'availability_reasons', required
  - `data` object[], required
    - `id` integer, required
    - `company_id` integer, required
    - `reason` string, required
    - `comments_required` boolean, required
    - `sort` integer, required
    - `created` string, date-time, nullable — The date and time are formatted as ISO8601 in the UTC timezone.
    - `modified` string, date-time, nullable — The date and time are formatted as ISO8601 in the UTC timezone.
  - `meta` object, required
    - `cursor` object, required
      - `current` string, nullable, required — The current cursor.
      - `prev` string, nullable, required — A cursor for navigating to the previous page.
      - `next` string, nullable, required — A cursor for navigating to the next page.
      - `count` integer, nullable, required — The total items in the current cursor.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Server Error

---

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