Skip to main content
GET
TypeScript

Path Parameters

requestId
string
required

The approval request ID.

Query Parameters

userId
string

Report userStatus for this user instead of the authenticated user. This selects whose approval state is returned; it does not change which requests can be fetched. Requires an Admin, Non-Signing Admin, Security Admin or Security Auditor role; other roles are rejected with 403.

quorumStatusMode
enum<string>
default:NONE

How much quorum detail to include in quorumStatus. NONE (the default) returns it as null. SUMMARY returns the approval thresholds, current counts and status. FULL adds users and the per-group members indexes identifying who may approve and who already has. Any other value is rejected with 400; the parameter is case-sensitive.

Available options:
NONE,
SUMMARY,
FULL

Response

The requested approval request.

requestPayload
string
required

The pending approval request as a JSON string, exactly as produced by the backend — this is the precise string to sign in order to approve the request (sign it as-is; do not re-serialize). The JSON has the shape { requestId, requestType, requestTimestamp (epoch ms), expiresAt (epoch seconds), requestData }, where requestData is the request-type-specific payload.

Example:

"{\"requestId\":\"ccr-1f2e3d4c\",\"requestType\":\"ADD_USER\",\"requestTimestamp\":1750000000000,\"expiresAt\":1750600000,\"requestData\":{\"type\":\"ADD_USER\",\"creator\":\"user-1f2e3d4c\",\"id\":\"ccr-1f2e3d4c\"}}"

userStatus
enum<string>
required

The authenticated user's approval status for this request.

Available options:
USER_STATUS_NOT_APPLICABLE,
USER_NOT_ELIGIBLE_TO_APPROVE,
USER_NOT_APPROVED,
USER_APPROVED
Example:

"USER_NOT_APPROVED"

requestSignature
string

Signature over the requestPayload. Empty until request signing is implemented.

Example:

""

quorumStatus
object | null

The approval quorum's structure and progress for this request.

null when quorumStatusMode is omitted or NONE. Also null on an otherwise successful response when the quorum cannot be reported faithfully — a multi-tier request in a workspace that does not maintain per-tier approval counts — so absence here does not imply the request has no quorum.

The object may carry additional backend-defined fields beyond those documented.