GET
List counts of pending approvals
List counts of pending approvals by enterprises that the current user is a part of.
Query Params
-
actionablebooleanTrue, if returning pending approvals that are actionable by the current user. -
byOrganizationbooleanTrue, if returning counts of pending approvals by organizations that the current user is a part of.
Responses
200
OK
Response Body
object
-
enterprisesmap of objects requiredenterprises object
-
<key>objectvalue object
-
pendingApprovalsCountnumber requiredThe number of pending approvals
-
-
-
organizationsmap of objectsorganizations object
-
<key>objectvalue object
-
pendingApprovalsCountnumber requiredThe number of pending approvals
-
-
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id