---
title: "Time off request approved"
method: POST
path: "timeoffRequestApproved"
tags: ["Time off Webhooks"]
---

# Time off request approved

`POST timeoffRequestApproved` (webhook)

Triggered when approving a time off request.

For auto-approved requests, two events are sent in sequence: **requested** then **approved**.

In the right panel, open **Examples** and select **Payload Example** to see a real payload.

## Headers

- `bob-signature` string, required

## Payload

- TimeoffRequestApprovedEvent: Base webhook event structure containing common webhook properties
  - `companyId` number, required: The company ID
  - `type` 'timeoff.request.approved', required: Event type for time off request approved
  - `triggeredBy` string, required: The backend-id of the employee that triggered the event, or 'system' for system-triggered events
  - `triggeredAt` string, required: The timestamp when the event occurred (ISO 8601-style string)
  - `version` string, required: The webhook version (e.g., v2)
  - `data` object, required: Data payload for timeoff.request.approved event
    - `timeoffRequestId` integer, required: The unique identifier of the time off request
    - `employeeId` string, required: The unique identifier of the employee
    - `getApi` string, required: URL to retrieve the full time off request details via the API

## Acknowledgement `200`

Webhook received successfully

## Other responses

- `400`: Invalid webhook payload

---

[API](https://skmtc.dev/hibob/apis/time-off-api.md) - [All operations](https://skmtc.dev/hibob/apis/time-off-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hibob/apis/time-off-api/revisions/879ed4afa950?raw)
