Skip to main content
GET
TypeScript

Query Parameters

includeUserApproved
boolean

When true, also include requests the authenticated user has already approved that are still pending overall. Defaults to false (only requests the user has not yet acted on).

userId
string

Return the pending requests for this user instead of the authenticated user. Requires an Admin, Non-Signing Admin, Security Admin or Security Auditor role; other roles are rejected with 403. Cannot be combined with includeAllUsers=true — sending both is rejected with 400.

includeAllUsers
boolean
default:false

When true, return every pending request in the workspace instead of a single user's queue. Defaults to false. Requires an Admin, Non-Signing Admin, Security Admin or Security Auditor role; other roles are rejected with 403. In this mode userStatus is always USER_STATUS_NOT_APPLICABLE, because the response is not scoped to one user, and includeUserApproved has no effect. Cannot be combined with userId.

quorumStatusMode
enum<string>
default:NONE

How much quorum detail to include in each request's quorumStatus. NONE (the default) returns it as null. SUMMARY returns the approval thresholds, current counts and status. FULL is rejected with 400 on this endpoint because the per-approver breakdown requires a single request — use GET /approvals/{requestId} for it. Any other value is rejected with 400; the parameter is case-sensitive.

Available options:
NONE,
SUMMARY
pageSize
integer
default:20

Number of results per page. Maximum 30. Defaults to 20.

Required range: 1 <= x <= 30
pageCursor
string

Cursor returned from the previous response (the next field) to fetch the next page.

Response

Approval requests the authenticated user is eligible to act on.

data
object[]
required

The approval requests the authenticated user is eligible to act on.

Example:
next
string

Cursor for the next page of results. Pass it back as the pageCursor query param to fetch the next page. Empty or absent when this is the last page.

Example:

"cursor for the next page"