Skip to main content
Request example
POST /api/external/change_requests/approvals/{approvalId}/action/ Send the signed approval message from Get Approval Message to approve or reject. See Approvals for the full flow.

Path parameter

string
required
The approvalId returned by Get Approval Message.

Request body

ApprovalAction
required
approve or reject. See ApprovalAction.
string
required
Hex-encoded ECDSA (SHA-256) signature of the approval message, made with your API user’s private key.
string
Note recorded with the action. The SDK sends ok unless you pass another value.

Response

Returns an ApprovalActionResponse.
boolean
Whether PrimeVault accepted the action.
string
Approval status after the action.
string
ID of the approval record.
string
ID of the transaction, vault, contact, or bank account the action applied to.
After you approve, fetch the entity to confirm its state:
Request example