Human Approval
Get All Pending Approvals (Paginated)
Retrieve a paginated list of all pending approvals for workflows that are waiting for human approval
GET
Retrieve a paginated list of all pending approvals for workflows that are waiting for human approval. Use this endpoint to view all execution plans that require manual approval before proceeding.
Base URL
All API requests should be made to:Example request
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number to retrieve (starts from 1, default: 1) |
Example response
Response fields
Data array
| Field | Type | Description |
|---|---|---|
execution_plan_uuid | string | Unique identifier (UUID) for the execution plan |
workflow_uuid | string | UUID of the workflow template being executed |
workflow_name | string | Name of the workflow template |
step_identifier | string | Identifier of the current workflow step waiting for approval |
workflow_index | integer | Index/position of the workflow step |
status | string | Execution status (always "waiting_approval" for pending approvals) |
human_approval_required | boolean | Whether human approval is required for this step |
delay_to_next_step | integer | Delay in seconds before proceeding to the next step after approval |
inserted_at | string | ISO 8601 timestamp when the execution plan was created (in your brand’s selected timezone with offset) |
Meta object
| Field | Type | Description |
|---|---|---|
page | integer | Current page number |
total_count | integer | Total number of pending approvals |
per_page | integer | Number of items per page |
total_pages | integer | Total number of pages |
has_next | boolean | Whether there is a next page |
has_prev | boolean | Whether there is a previous page |
Root fields
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the request was successful |
data | array | Array of pending approval objects |
meta | object | Pagination metadata |
timezone | string | IANA timezone identifier indicating the timezone used for all timestamps in the response (matches your brand’s selected timezone) |
Error Responses
If the page is out of range, you will receive:Use Cases
- Review Pending Approvals: View all workflows waiting for human approval
- Approval Dashboard: Build a dashboard to manage all pending approvals
- Workflow Monitoring: Track which workflows are paused waiting for approval
- Audit Trail: Review approval requests by creation date
- Bulk Operations: Process multiple approvals efficiently
Sorting
Results are sorted byinserted_at in descending order, showing the most recently created pending approvals first.
Important Notes
- Execution Plan UUID: Use the
execution_plan_uuidfield when calling the Human Approval Action endpoint - Workflow UUID: The
workflow_uuidfield identifies the workflow template that contains this execution plan - Sorted by Date: Results are sorted by
inserted_atin descending order (newest first)
Related Documentation
- Human Approval Overview - Learn about human approval in workflows
- Human Approval Action - Approve or reject pending approvals using
execution_plan_uuid - Workflow Template Overview - Learn about workflow templates and steps
Authorizations
API key for authentication. Get this from your dashboard by selecting a brand and going to API Keys section.
Brand UUID for authentication. Get this from your dashboard after adding a brand - it will be displayed in the UI.
Query Parameters
Page number to retrieve (starts from 1)
Required range:
x >= 1
