Skip to main content
The Leave endpoints let you read and manage time off programmatically.
Leave is an add-on. The company must have it enabled — otherwise every /v1/leave/* call returns 403 MODULE_NOT_ENABLED (a company admin enables it in Settings → Modules). Calls also need the matching scope: leave:read for reads, leave:write for writes. Writes are not available with a kua_test_ key (add-ons have no sandbox yet).

Leave types

The kinds of leave the company offers (Annual, Sick, …).
Create one (leave:write):

Leave requests

List requests (filter by status and/or employeeId), then create, approve, reject, or cancel:

Balances & allocations

Check an employee’s remaining days per type, and grant an allocation:

Events

You can also react to leave changes via webhooks: leave_request.submitted, leave_request.approved, leave_request.rejected.