---
title: "Returns specific absence"
method: GET
path: "/absences/{absenceId}"
tags: ["Absences"]
---

# Returns specific absence

`GET /absences/{absenceId}`

## Path parameters

- `absenceId` integer, required

## Response `200`

Absence

- object
  - `data` Absence — Available relations: employees, account_times, type, template, recurring_rule, changelog
    - `id` integer
    - `first_line` string — First line
    - `icon` string — Icon
    - `color` string — Color
    - `contrast_color` 'dark' | 'white' — Contrast color
    - `type_id` integer — Reason
    - `template_id` integer — Template
    - `recurring_rule_id` integer — Repeats
    - `start` string, date-time — The start date and time of the absence
    - `end` string, date-time — The end date and time of the absence
    - `all_day` boolean — Whether the absence is all day
    - `timezone` string — The timezone of the absence
    - `hints` string — Additional hints or notes for the absence
    - `source` string — The source of the absence data
    - `source_external_id` string — The external ID from the source
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401` — The request lacks valid authentication credentials.
- `403` — The token is valid but lacks the permission for this action.
- `404` — The requested resource could not be found.
- `500` — An unexpected error occurred on the server (e.g. a requested relation does not exist).

---

[API](https://skmtc.net/craftboxx/apis/craftboxx-api-documentation.md) · [All operations](https://skmtc.net/craftboxx/apis/craftboxx-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/craftboxx/craftboxx-api-documentation/versions/c01f07a02f77/schema)
