Approval Queue
Resolve an approval request
Approve or deny a pending approval request. If approved, the gateway resumes the full task pipeline (stages 2-8: credit debit, compute, IPFS, fingerprint, receipt). If denied, the task is marked FAILED and no credits are consumed. Supports both JWT (dashboard) and API key (SDK/scripts) authentication. Fires a dual-signed webhook (HMAC + EIP-712) to any configured webhook URL or one-shot callback.
patch/api/v1/approvals/{id}
Path parameters
idstring required
Approval request ID
Request body
Example request
{
"decision": "approved",
"note": "Verified invoice with finance team"
}Response
Approval resolved successfully
Example response
{
"success": true,
"decision": "approved",
"taskId": "task_abc123"
}