---
title: "Get Time Off Events for Profile"
method: GET
path: "/time_offs/time-off-events"
tags: ["timeOff"]
---

# Get Time Off Events for Profile

`GET /time_offs/time-off-events`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/time_offs/time-off-events`
- Auth: HTTP bearer

Returns the parental-leave events linked to the time-off requests of a worker, which carry the birth or adoption context behind that leave. Use it when you need the parental-leave event behind a worker request; the requests themselves come from GET /rest/time_offs/profile/{hris_profile_id}. Only parental-leave events are currently supported.

 **Token scopes**: `time-off:read`

## Query parameters

- `hris_profile_id` string, uuid, required
- `time_off_type_id` string, uuid
- `policy_id` string, uuid

## Response `200`

List of time off events for the profile

- TimeOffGetTimeOffEventsResponse200: List of time off events for the profile
  - `data` TimeOffsTimeOffEventsGetResponsesContentApplicationJsonSchemaDataItems[], required: List of time off events for the profile
    - `id` string, uuid, required: Time off event id
    - `type` string, required: The type of event
    - `policy_id` string, required: Policy id
    - `created_at` string, date-time, required: Time off creation date
    - `updated_at` string, date-time, required: Time off update date
    - `event_details` TimeOffsTimeOffEventsGetResponsesContentApplicationJsonSchemaDataItemsEventDetails, required: Details of the time off event
      - `birth_date` string, date: Start date of the time off
      - `adoption_date` string, date: End date of the time off
      - `was_premature_birth` boolean: Was the child born prematurely?
      - `estimated_birth_date` string, date: The estimated date of the child birth
      - `had_multiple_children` boolean: Was it the birth of multiple children?
      - `estimated_adoption_date` string, date: The estimated date of the child adoption
    - `hris_profile_id` string, uuid, required: Worker hris profile id
    - `time_off_type_id` string, required: Time off type id

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
