---
title: "GET /absenceType"
method: GET
path: "/absenceType"
tags: ["absenceType"]
---

# GET /absenceType

`GET /absenceType`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/absenceType`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/absenceType/get.ts> (a function with typed inputs; its response is checked against the schema)

query absenceType

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string

## Response `200`

absenceType response

- object
  - `result` AbsenceType[]
    - `id` string
    - `version` string
    - `abbreviation` string, required
    - `active` boolean
    - `allowHalfDayRequests` boolean
    - `color` 'CALENDAR_BLUE' | 'CALENDAR_BLUE_GREY' | 'CALENDAR_BROWN' | 'CALENDAR_CYAN' | 'CALENDAR_DEEP_ORANGE' | 'CALENDAR_GLACIER' | 'CALENDAR_GREEN' | 'CALENDAR_GREY' | 'CALENDAR_INDIGO' | 'CALENDAR_LIME' | 'CALENDAR_ORANGE' | 'CALENDAR_PINK' | 'CALENDAR_PURPLE' | 'CALENDAR_RED' | 'CALENDAR_TEAL' | 'CALENDAR_YELLOW' | 'NO_COLOR', required
    - `createdDate` integer
    - `ignoredInResourceUtilization` boolean
    - `lastModifiedDate` integer
    - `name` string, required
    - `reducesLeaveEntitlement` boolean
    - `workTimeTrackingNecessary` boolean

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/absenceType/get.md)

---

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