Api reference
Approve an automation approval
Approve a pending automation approval request so the run can proceed.
Related endpoints
GET /automations— List automationsPOST /automations— Create an automationGET /automations/{id}— Retrieve an automationGET /automations/{id}/runs— List runs for an automationPOST /automations/{id}/runs— Run an automationGET /automations/{id}/runs/{runId}— Retrieve a runGET /automations/approvals— List approvalsPOST /automations/approvals/{approvalId}/reject— Reject an automation approval
Common errors
404 resource_missing— the referenced resource does not exist or is not visible to your key.
Idempotency
Pass an Idempotency-Key header (UUID v4 recommended) to make retries safe. Keys are valid for 24 hours; see the idempotency guide.
x-api-key<token>
Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.
In: header
Path Parameters
approvalId*string
The approval ID to approve
Format
uuidResponse Body
application/json
curl -X POST "https://api.revkeen.com/v2/automations/approvals/00000000-0000-0000-0000-000000000000/approve" \ -H "x-api-key: $REVKEEN_API_KEY"{
"data": {
"approval_id": "15af2260-72db-4fc4-b587-6b841d6a3d55",
"run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
"status": "string"
}
}Empty