Skip to main content
GET
List an organization's policy requests
Organization admins see every request of the organization, and can narrow the list to one user with userId. Any other member sees only the requests they created or take part in approving: without userId the list is theirs, and naming another user is refused with 403. Filter by requestStatus, executionStatus, subjectType or subjectId, or search with query. approvalStatus narrows to the requests with an approval step in that status that names the userId user — ?userId=<id>&approvalStatus=REQUESTED lists the requests waiting for that user’s decision — and is refused without userId. It looks at the step, not at the user’s own decision: a group step another member approved is APPROVED for every member. The list is sorted by approvalDeadline, soonest first, unless you choose another sort; page with limit + next. Each parameter takes one value.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of the organization whose policy requests you want to list.

Format: UUID

Query Parameters

query
string

Only requests whose wallet name, requester name or e-mail, or recipient name contains this text (case-insensitive).

Required string length: 1 - 120
userId
string

Only requests this user created or takes part in approving. Organization admins can name any user, or omit it to list the whole organization; any other member only sees their own requests — omitted means themselves, and naming someone else is refused.

Minimum string length: 1
requestStatus
enum<string>

Only requests in this status.

Available options:
REQUESTED,
APPROVED,
DENIED,
CANCELED,
EXPIRED
executionStatus
enum<string>

Only requests whose execution — what happens after the approval — is in this status.

Available options:
WAITING,
PROCESSING,
EXECUTED,
FAILED
approvalStatus
enum<string>

Only requests with an approval step in this status that names the user in userId — REQUESTED lists the ones waiting for their decision. It is the step's status, not the user's own decision. Requires userId.

Available options:
WAITING,
REQUESTED,
APPROVED,
DENIED,
CANCELED
subjectType
string

Only requests for this kind of subject: PIX, BOLETO, WALLET_TRANSFER_REQUEST or TRANSACTION (a spend review).

Minimum string length: 1
subjectId
string

Only requests for this subject — the ID of the payment, transfer request or transaction.

Minimum string length: 1
sort
enum<string>

Field to sort by. Defaults to approvalDeadline, soonest first.

Available options:
approvalDeadline,
createdAt,
requester.name
direction
enum<string>

Sort direction. Defaults to asc for approvalDeadline and requester.name, and to desc (newest first) for createdAt.

Available options:
asc,
desc
next
string

Cursor returned as next by the previous page. Omit for the first page.

Minimum string length: 1
limit
integer

Page size. Defaults to 20.

Required range: 0 < x <= 100

Response

Successful response

One page of policy requests.

items
object[]
required

The requests of this page.

next
string | null
required

Cursor of the next page — send it as next. null on the last page.

Example:

"MjAyNi0xMS0wN1QwMDowMDowMC4wMDBa"