Skip to main content

Time Off API

The Time Off API allows you to manage staff leave requests โ€” creating, approving, rejecting, and deleting them programmatically.

What You Can Doโ€‹

  • List all time-off requests, with optional filters by staff member, status, and date range
  • Create a time-off request on behalf of a staff member
  • Approve or reject pending requests
  • Delete a request

Statusesโ€‹

StatusDescription
pendingAwaiting review
approvedApproved by a manager
rejectedRejected by a manager

Requests from staffโ€‹

Staff can ask for days off from their own availability link. Those requests arrive with status pending. When you approve or reject one, through this API or anywhere else, the staff member gets an email saying so.

Base Pathโ€‹

All time-off endpoints are prefixed with /v1/staff/time-off.

Authenticationโ€‹

All endpoints require a bearer API key. Read operations require staff:read; write operations require staff:write.