List workflow instances with current step info
Returns paginated list of workflow execution instances with their current step status. Supports filtering by workflow_id, status, and current_step_status.
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/workflows/instances
- Authnone required
Query parameters
Filter by workflow ID
Filter by instance status
Filter by current step status
Filter by external reference source
Filter by external reference external ID
Filter by external reference ID prefix; returns all matching instances (mutually exclusive with external_id)
Page size (default: 10, max: 100)
Return the page after this position: either the opaque next_cursor from a previous response, or a bare instance ID; excludes before_id
Return the page before this position: either the opaque prev_cursor from a previous response, or a bare instance ID; excludes after_id
Sort column (default: created_at descending)
Sort direction; requires sort_by
Headers
Organization ID
Response
List of instances
Example response
{
"data": [
{
"created_at": "2026-01-15 10:30:00+00:00",
"current_step": {
"definition_path": "2.steps.0",
"error": "a workflow step failed",
"error_code": "step_execution_failed",
"error_detail": "a workflow step failed",
"started_at": "2026-01-15 10:30:00+00:00",
"status": "completed",
"step_name": "validate_amount",
"terminated_at": "2026-01-15 10:31:00+00:00"
},
"idempotency_key": "idem_abc123",
"instance_id": "inst_abc123",
"livemode": true,
"organization_id": "org_abc123",
"status": "running",
"terminated_at": "2026-01-15 10:31:00+00:00",
"updated_at": "2026-01-15 10:30:00+00:00",
"workflow_description": "Handles merchant payout disbursement",
"workflow_id": "flow_abc123",
"workflow_name": "Payout Workflow"
}
],
"meta": {
"limit": 10
}
}Changes
No recorded changes to this operation across all 1 revision of this API.