Skip to main content

Approvals API

Manage approval workflows for high-value or sensitive operations.


Approval Requests

List Approval Requests

GET /api/v1/approval-request

List all approval requests.

QueryTypeDescription
statusstringPENDING, APPROVED, REJECTED, EXPIRED
typestringRequest type filter
offsetnumberPagination offset
limitnumberPage size

Get Approval Request

GET /api/v1/approval-request/{id}

Get detailed information about a specific approval request.


Get Approval Request Status

GET /api/v1/approval-request/{id}/status

Get the current voting status and remaining votes needed.


Count Approval Requests

GET /api/v1/approval-request/count

Get the count of approval requests by status.


Vote on Approval Request

POST /api/v1/approval-request/{id}/vote

Submit a vote (approve or reject) on a pending approval request.

FieldTypeRequiredDescription
decisionstringYesAPPROVE or REJECT
reasonstringNoReason for the decision

Bulk Vote

POST /api/v1/approval-request/bulk-vote

Vote on multiple approval requests at once.

FieldTypeRequiredDescription
requestIdsUUID[]YesList of approval request IDs
decisionstringYesAPPROVE or REJECT
reasonstringNoReason for the decision

Approval Settings

Get Approval Settings

GET /api/v1/approval-settings

Get the current approval configuration (thresholds, required votes, etc.).


Create or Update Approval Settings

PUT /api/v1/approval-settings

Configure approval requirements for different operation types.

FieldTypeRequiredDescription
operationTypestringYesOperation type requiring approval
requiredVotesnumberYesNumber of votes required
thresholdnumberNoAmount threshold above which approval is required
approversUUID[]YesList of authorized approver user IDs