List Time Off Requests
Returns the time off requests of the organization — vacations, leaves and permissions — paginated and filterable. Each item includes the request itself, the policy it belongs to and the requesting user (with their position).
Authentication
Api-Keystring
API key of the organization. Always sent together with the Secret-Access header.
Path parameters
organization_slug
Headers
Secret-Access
Query parameters
keyword
Free-text search across the requests.
status
Filter by request status. Repeat the parameter to pass several values.
Allowed values:
policy_ids
Filter by time off policy id. Repeat the parameter to pass several ids.
policy_type_ids
Filter by policy type id. Repeat the parameter to pass several ids.
centralized_user_ids
Filter by user id (centralized user id). Repeat the parameter to pass several ids.
date_from
Start of the date range (inclusive). Format: YYYY-MM-DD.
date_to
End of the date range (inclusive). Format: YYYY-MM-DD.
specific_date
Return requests active on this exact date. Format: YYYY-MM-DD.
order_by
Sort order for the results.
limit
Results per page (1-50).
offset
Number of results to skip (zero-based).
Response
Time off requests page
results
total
Errors
400
Bad Request Error
422
Unprocessable Entity Error
