---
title: "Set end date to a time off request"
method: POST
path: "timeoffRequestSetEndDate"
tags: ["Time off Webhooks"]
---

# Set end date to a time off request

`POST timeoffRequestSetEndDate` (webhook)

Triggered when setting the end date of an open-ended time off request.

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

## Headers

- `bob-signature` string, required

## Payload

- TimeoffRequestSetEndDateEvent: Base webhook event structure containing common webhook properties
  - `companyId` number, required: The company ID
  - `type` 'timeoff.request.setEndDate', required: Event type for setting the end date of an open-ended time off request
  - `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.setEndDate 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)
