---
title: "Get list of availability status"
method: GET
path: "/api/v1/availabilitystatus/list"
tags: ["AvailabilityStatus"]
---

# Get list of availability status

`GET /api/v1/availabilitystatus/list`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/api/v1/availabilitystatus/list`
- Auth: API key in header `Authorization`

## Query parameters

- `workspaceId` string

## Headers

- `Loop-Workspace-Id` string
- `Authorization` string
- `X-Impersonate-User` string

## Response `200`

OK

- AvailabilityStatusList: License resource
  - `id` string: Resource id
  - `name` string: Resource name or title
  - `revision` string: Resource revision
  - `clientId` string: Resource client id
  - `$type` string, required
  - `availabilityStatuses` ListOfResourcesOfAvailabilityStatus: List of resources
    - `resources` AvailabilityStatus[]: List of resources
      - `id` string: Resource id
      - `name` string: Resource name or title
      - `revision` string: Resource revision
      - `clientId` string: Resource client id
      - `$type` string, required
      - `workspaceId` string: Availability Name
      - `description` string: Availability Description
      - `emoji` string: Availability Emoji
      - `clearAfter` 'None' | 'Minutes_30' | 'Hours_1' | 'Hours_2' | 'Hours_4' | 'Hours_8' | 'Hours_12' | 'Days_1' | 'Days_2' | 'Days_3' | 'Days_7' | 'Days_14' | 'Today' | 'Tomorrow' | 'ThisWeek' | 'NextWeek' | 'NextBusinessDay', required: Possible Clear After enums
      - `enabledAssignments` boolean, required: Availability available for assignments
      - `outOfOffice` boolean, required: Availability out of office
    - `size` integer, required: Page size
    - `offset` integer, required: Page offset
    - `offsetHistoryId` string: Offset history id
    - `totalSize` integer, required: Total size (if total size is at least one bigger than size, then there are more resources). Total size does not necessarily mean the actual total size

## Other responses

- `400`: Bad request. Check fields message and error code from response body for additional information.
- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `403`: Requested resource forbidden.Check fields message and error code from response body for additional information.
- `404`: or Requested resource not found.
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.
- `451`: Unavailable because account is not verified.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
