Skip to navigation

List Leave Approval Flows

Returns your company’s multi-level leave approval flows and the people who can be chosen as approvers. Not paginated.

  • flows lists every flow, oldest first. Companies without multi-level approval get flows: []. assigned_staff_count counts 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 the approver_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_approvers has 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.
messagestring
statusboolean
dataobject

Errors

403
Forbidden Error