Api reference
List approvals
List pending and resolved automation approval requests.
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 runPOST /automations/approvals/{approvalId}/approve— Approve an automation approvalPOST /automations/approvals/{approvalId}/reject— Reject an automation approval
Pagination
Offset-based with limit (default 25, max 100) and offset. The response pagination block includes total and hasMore. See the pagination guide for SDK auto-paging helpers.
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
Query Parameters
status?string
limit?number
Default
25Range
1 <= value <= 100Response Body
application/json
curl "https://api.revkeen.com/v2/automations/approvals" \ -H "x-api-key: $REVKEEN_API_KEY"{
"object": "list",
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"object": "automation_approval",
"run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",
"automation_id": "64fb5f73-6415-4f56-8e9e-ca06539f09ac",
"automation_name": "string",
"run_status": "string",
"trigger_source": "string",
"status": "string",
"action_summary": "string",
"actions_json": null,
"approved_by_user_id": "6f927876-90f9-4dae-8888-4b498595faf4",
"approved_at": "string",
"rejection_reason": "string",
"created_at": "string",
"updated_at": "string"
}
]
}