Skip to content

Webhook events

Choose the event names your integration subscribes to, grouped by the object that changed. Each event also requires a matching read scope for the webhook owner, and a few events carry only identifiers, so plan a follow-up read where noted.

Leave and TOIL lifecycles

Subscribe only to the changes your integration acts on. Leave and TOIL share the same lifecycle pattern — requested, added, updated, approved, denied, cancelled, deleted, expired — but they are separate event names and separate scopes. A requested event means the item is OPEN and still needs a decision; added means it is already approved, either because an approver or admin entered it that way or because policy required no approval. Expired means an open request passed its deadline with no approval or denial. Deleted events carry only identifiers in data, so remove the local record by ID rather than expecting a full object.

Configuration changes and knock-on events

Location, department, leave-type, leave-policy, holiday and label events track configuration rather than individual requests. Watch for knock-on effects: deleting a location moves its users to the default location and emits user.updated; enabling a leave type for locations emits a separate leave-policy.enabled per location; and a bulk holiday import or whole-year change emits only the locationId, so fetch the location's holidays to see the result. Label assignment and removal carry only labelId and userId.

Users, automations and notifications

User events cover profile, location, department, role and work-week changes, activation or deactivation, and quota or rollover changes. For quota changes, data is the user object, not the quotas themselves — read the user's quotas endpoint for the new values. Automation and notification events cover creation, change, pause or resume, and deletion across all automation and notification types. Scheduled reports use the notifications read scope.

Operation outcomes and a subscription checklist

Operation events are different: they report the outcome of an asynchronous write started with an API key owned by the webhook owner, and they are sent only to that owner's webhooks. operation.completed carries the operation in the same shape as the operations read endpoint; operation.failed carries status FAILED with the error in error. Before subscribing, confirm the owner has the matching read scope for every event you select, and verify signatures and deduplicate deliveries using the Webhooks guide.

Leave and TOIL events
EventWhen it firesOwner scope
leave.requestedLeave requested and awaiting approvalleaves:read
leave.addedApproved leave added or auto-approvedleaves:read
leave.updatedOpen or approved leave changed (dates, times, type, reason)leaves:read
leave.approvedLeave approved by approver, location admin or adminleaves:read
leave.deniedLeave denied by approver, location admin or adminleaves:read
leave.cancelledLeave cancelled by user or their managerleaves:read
leave.deletedLeave deleted; data carries only deleted leave IDsleaves:read
leave.expiredOpen request expired with no decisionleaves:read
toil.requestedTOIL requested and awaiting approvaltoil:read
toil.addedApproved TOIL added or auto-approvedtoil:read
toil.updatedTOIL request changed (dates, times, type, reason)toil:read
toil.approvedTOIL approved by approver, location admin or admintoil:read
toil.deniedTOIL denied by approver, location admin or admintoil:read
toil.cancelledTOIL cancelled by user or their managertoil:read
toil.deletedTOIL deleted; data carries only deleted request IDstoil:read
toil.expiredOpen TOIL request expired with no decisiontoil:read

Requested items are OPEN; deleted items carry only IDs.

Configuration events
EventWhen it firesOwner scope
location.created / updated / deletedLocation created, settings or work week changed, or deleted (users move to default location; emits user.updated)locations:read
department.created / updated / deletedDepartment created, settings or approvers changed (including approver activation), or deleteddepartments:read
leave-type.created / updated / deletedLeave type created, name/color/status/calendar changed, or deleted; enabling per location emits leave-policy.enabledleave-types:read
leave-policy.enabled / disabledLeave type enabled or active policy changed in a location, or disabled in a locationleave-policies:read
holiday.created / updated / deletedHoliday created, changed, or deleted in a locationholidays:read
holiday.bulk-updatedHolidays imported or a whole year changed at once; data carries only locationIdholidays:read
label.created / updated / deletedLabel created, name or color changed, or deletedlabels:read
label.assigned / removedLabel assigned to or removed from a user; data carries only labelId and userIdlabels:read

Bulk holiday updates carry only locationId; fetch holidays for the result.

User, automation, notification and operation events
EventWhen it firesOwner scope
user.updatedProfile, location, department, role or work week changedusers:read
user.status-changedUser activated or deactivatedusers:read
user.quota-updatedLeave quotas or rollover set or removedusers:read
automation.created / updated / deletedAutomation of any type created, changed/paused/re-enabled, or deletedautomations:read
notification.created / updated / deletedDaily, weekly or birthday notification created, changed/paused/resumed, or deletednotifications:read
scheduled-report.created / updated / deletedScheduled report created, changed, or deletednotifications:read
operation.completedAsync write by owner's API key succeeded; data is the operationwebhooks:read
operation.failedAsync write by owner's API key failed; data has status FAILED and errorwebhooks:read

Quota events carry the user, not the quotas; read the quotas endpoint for new values.

Frequently asked questions

Where do I find payload and signature details for these events?

Use the Webhooks guide for payload structure, headers, and signature verification. This page lists only which event names you can subscribe to and the read scope each one requires.