---
title: "Return a list of time-off types."
method: GET
path: "/time-off/types"
tags: ["Time off"]
---

# Return a list of time-off types.

`GET /time-off/types`

This endpoint returns a list of all the existing time off types for an organization. The URL params help to return more accurate results.

## Query parameters

- `name` string
- `offset` number
- `limit` number

## Headers

- `Authorization` string, required

## Response `200`

OK.

- object
  - `data` object[]
    - `name` string — The name of the time-off type.
  - `metadata` object
    - `count` number — The number of rows retrieved according the pagination filters (limit + offset).
    - `offset` number — The number of pages to skip. Determines the page number when pagination is being used.
    - `limit` number — The maximum number of rows to retrieve. Determines the size of the page when pagination is being used.
    - `total` number — The total number of rows existing for the provided filters.

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.dev/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.dev/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
