Skip to navigation

List approvals

Beta

The caller’s approval inbox across subject kinds: the approvals of the caller’s workspace that name the caller as an approver, newest first, each with its decisions and deliveries. Session interrupts projected onto the object appear read-only; decide them in the session. Keyset-paginated: pass the previous page’s next_before and next_before_id to continue. workspace_id reads the inbox of another workspace the caller is a member of instead of the caller’s current one.

Authentication

X-API-KEYstring
API Key authentication via header

Headers

X-Athena-Session-CredentialstringOptional

Query parameters

subject_kindlist of strings or nullOptional

Only these subject kinds (repeat the parameter or separate with commas): automation_step, session_interrupt, publish, proposal

statestring or nullOptional

Only approvals in this state: pending, escalated, decided, expired or invalidated

limitintegerOptional1-200Defaults to 50

Page size (1 to 200)

beforedatetime or nullOptional

The previous page’s next_before; omit for the first page

before_idstring or nullOptional

The previous page’s next_before_id, sent together with before

workspace_idstring or nullOptional>=1 character

Workspace whose inbox to read; the caller’s current workspace when omitted. The caller must be a member

Response

One page of the caller's approvals
has_moreboolean
itemslist of objects
next_beforedatetime or null

Pass as before for the next page; null when there is none

next_before_idstring or null

Pass as before_id together with before

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error