v3

latestOpenAPI 3.1.02026-07-31144319609.5 KB
Webhook

Webhook: holidays_quota.updated

This webhook is triggered when a holidays_quota updated event occurs.

postWebhookholidays_quota_updated

Payload

subscription_idinteger required

The ID of the webhook subscription

company_idinteger required

The ID of the company

occurred_atstring date-time required

The timestamp when the event occurred (ISO 8601 format)

event_name'holidays_quota.updated' required

The name of the webhook event

tokenstring required

The webhook verification token

Example payload

{
  "subscription_id": 42,
  "company_id": 1337,
  "occurred_at": "1986-05-10T17:02:00Z",
  "payload": {
    "holidays_quota": {
      "id": 1
    }
  },
  "token": "My_Sup3r_T0k3n"
}

Response

Return a 200 status to indicate that the data was received successfully