List Leave Approval Flows
Returns your company’s multi-level leave approval flows and the people who can be chosen as approvers. Not paginated.
flowslists every flow, oldest first. Companies without multi-level approval getflows: [].assigned_staff_countcounts active staff on the flow.- A request passes level 1, then level 2 and so on. At each level, any one eligible approver (a named person in
approvers, or anyone with one of theapprover_roles) can approve or reject. - Approvers other than admins can only act on staff who share their branch, and one of their departments if they have any. An admin can only be on a flow’s last level.
eligible_approvershas one group per role, in this order: Admins, Branch Admins, Advanced Attendance Managers, custom roles. Active people only, sorted by name.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Response
Flows and eligible approvers.
message
status
data
Errors
403
Forbidden Error
