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 isDocumentation Index
Fetch the complete documentation index at: https://docs.dfns.co/llms.txt
Use this file to discover all available pages before exploring further.
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 give his approval / rejection if he is defined inside one of the approval groups defined on the policies that triggered.
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.
The initiator is not allowed to approve their activity, but can deny it if they need to cancel it.
Here’s an Approval object example
Policy Approval object
A "`Wallets:Sign`" activity represents any activity which involves signing with a wallet. Currently, in our API, these can be:- 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
- Policies:Modify
- Permissions:Modify
- Permissions:Assign
- Registry:Addresses:Modify
- Registry:ContractSchemas:Modify
Available options:
Pending, Approved, Denied, Expired Last modified on May 15, 2026
