Policy Approvals
API endpoints to list pending policy approvals and to approve or deny actions that triggered a policy requiring human or programmatic review.
When a policy is triggered and the action defined is
RequestApproval, an Approval object is created containing:
- details about the activity that triggered this approval flow
- details on the different policy evaluations that happened for that activity and their result
- details about the decisions given by each approvers
policy.approval.pending”). You can subscribe to it to react to this event, eg. send notifications to the users that need to give their approval.
The Approval object can be queried using the approvalId returned from the endpoint that triggered the approval process, using the Get Approval / List Approvals endpoints.
Users can then call the Create Approval Decision endpoint to either approve / reject this activity. Of course this can also be done via the DFNS dashboard.
A user can only approve or reject if they are named in one of the approval groups of the policies that triggered, directly or as a current member of a named user group. An approval group whose approvers is empty ({}) names nobody, so any human user of the organization who holds the Policies:Evaluations:Vote permission can vote in it. Service accounts vote only where they are named explicitly. Group membership is checked at each decision: a user who joins the group while the approval is pending can vote, and a user who leaves it can no longer vote through it.
A given user can only approve or reject once. If multiple approval groups exist, a decision from a single user will count as a decision for any of the groups this user belongs to.
A rejection from any user of any groups immediately rejects an activity.
By default, the initiator cannot approve their own activity. If an approval group of a triggered policy sets initiatorCanApprove: true, the initiator can approve and their vote counts toward the quorum. The initiator can always deny the activity to cancel it.
Here’s an Approval object example
Policy Approval object
Example
- a Transfer Request (created using the endpoint Transfer Asset from Wallet)
- a Transaction Request (created using the endpoint Broadcast Transaction from Wallet)
- a Signature Request (created using the endpoint Generate Signature from Wallet)
- Wallets:Sign
- Wallets:IncomingTransaction
- Vaults:ReleaseQuarantine
- Vaults:CreateLock
- Policies:Modify
- Permissions:Modify
- Permissions:Assign
- Registry:Addresses:Modify
- Registry:ContractSchemas:Modify
Last modified on November 13, 2026