---
title: "Time off request updated"
method: POST
path: "timeoffRequestUpdated"
tags: ["Time off Webhooks"]
---

# Time off request updated

`POST timeoffRequestUpdated` (webhook)

Triggered when updating a time off request.

For date or time changes (hard-update), a new request replaces the existing one. The payload then includes **originalRequestId** (the very first request before any modifications) and **previousRequestId** (the most recently replaced request).

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

## Headers

- `bob-signature` string, required

## Payload

- TimeoffRequestUpdatedEvent: Base webhook event structure containing common webhook properties
  - `companyId` number, required: The company ID
  - `type` 'timeoff.request.updated', required: Event type for time off request updated
  - `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.updated 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
    - `originalRequestId` integer, nullable: The ID of the very first request before any modifications
    - `previousRequestId` integer, nullable: The ID of the most recently replaced request (for date/time changes)

## 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)
