List pending AP approvals

GET/api/v1/ap-approval/pending

List bills currently suspended at an AP approval gate.

Operation ID: list_pending_approvals_api_v1_ap_approval_pending_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

tierstring

Filter to a specific tier: 'ops', 'advisor', or 'owner'.

minebooleandefault: False

When true, only show approvals whose gate tier the caller is configured as an approver for.

Responses

200Successful Response

successboolean
messagestring
codestring
dataPendingApprovalsResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject