An asynchronous write operation started by the webhook owner's API key succeeded
Sent when a write operation started with an API key owned by the webhook owner succeeds; `data` is the operation, the same shape `GET /v2/operations/{id}` returns. Sent only to webhooks of the key's owner. The owner needs `webhooks:read`.
Header Parameters
t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">. For 24 hours after a secret rotation it carries a second v1 entry signed with the previous secret. See Signature verification at the top of this document.
the ID of the webhook the delivery is for.
the event ID, the same as id in the body. Use it to skip duplicate deliveries.
the event type, the same as type in the body.
"leave.requested" | "leave.added" | "leave.updated" | "leave.approved" | "leave.denied" | "leave.cancelled" | "leave.deleted" | "leave.expired" | "toil.requested" | "toil.added" | "toil.updated" | "toil.approved" | "toil.denied" | "toil.cancelled" | "toil.deleted" | "toil.expired" | "location.created" | "location.updated" | "location.deleted" | "department.created" | "department.updated" | "department.deleted" | "leave-type.created" | "leave-type.updated" | "leave-type.deleted" | "leave-policy.enabled" | "leave-policy.disabled" | "holiday.created" | "holiday.updated" | "holiday.deleted" | "holiday.bulk-updated" | "label.created" | "label.updated" | "label.deleted" | "label.assigned" | "label.removed" | "user.updated" | "user.status-changed" | "user.quota-updated" | "automation.created" | "automation.updated" | "automation.deleted" | "notification.created" | "notification.updated" | "notification.deleted" | "scheduled-report.created" | "scheduled-report.updated" | "scheduled-report.deleted" | "operation.completed" | "operation.failed" | "webhook.test"the delivery ID, unique per delivery and kept across retries of the same delivery.
the attempt number of this delivery, starting at 1.
1 <= valuealways VacationTracker-Webhooks/2.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
Example Requests
/operation.completedNeed help?
developers@vacationtracker.ioA scheduled report was deleted
Sent when a scheduled report is deleted; `data` carries only the ID of the deleted report. The owner needs `notifications:read`.
An asynchronous write operation started by the webhook owner's API key failed
Sent when a write operation started with an API key owned by the webhook owner fails; `data` is the operation with `status` `FAILED` and the error in `error`. Sent only to webhooks of the key's owner. The owner needs `webhooks:read`.