List the executions of a workflow
GET /workflows/{uuid}/executions
/workflows/{uuid}/executionsLists the executions of one workflow of the new automation engine, newest first: for whom each one runs, on which published version, its state and, when it is blocked, stopped or canceled, why.
When to use: To see what a workflow is doing: which executions are running, waiting or blocked, which ended and how, or whether a contact went through it (subject_uuid, or search by name). Then read one with get_workflow_execution to see its route step by step.
When not to use: To know the state of the workflow itself (published, paused, how many executions are blocked) use get_workflow or list_workflows. Executions cannot be retried, skipped or canceled through the API: that happens in Easymailing.
Visibility: Only the executions whose subject the user can read are listed (a contact needs contacts.read, a company or an opportunity the CRM read capabilities and a CRM seat, a received webhook request automations.work…). A subject the user can only partly read (an opportunity of a pipeline they cannot see) comes with subject.state hidden and no name: a protected record.
Filters: All filters are optional and combine with AND.
state: only executions in that state (seestatein the response).revision: only executions running on that published version.subject_type: only executions for that kind of subject (seesubject.type).subject_uuid: only executions for that record, for example a contact.search: part of the name of the record (a contact by first name, last name, full name, email or phone; a company by its name; an opportunity by its title, only in the pipelines the user can read), case-insensitive and literal; tasks and webhook requests are not searched, and records that no longer exist never match.created_from(included) andcreated_before(excluded): only executions that started in that range, ISO 8601 instants with their offset. Sorting: fixed, the newest first; there is noorderparameter. Pagination:itemsPerPage(default 25, maximum 50) and an opaquecursor[gt]: to read the next page, call again with the same filters and thecursor[gt]of thehydra:nextlink of the previous response, and keep followinghydra:nextuntil a page comes back empty. An execution that starts meanwhile neither repeats nor shifts the following pages. There is no previous page.hydra:totalItemsis not a total: it is the items of this page, plus one when another page follows.
Permissions: Requires the automations.read capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the workflow. Get it from list_workflows.
uuidQuery Parameters
Only executions in this state.
Value in
- "active"
- "waiting"
- "blocked"
- "completed"
- "stopped"
- "canceled"
Only executions running on this published version (versions[].revision of get_workflow).
1 <= valueOnly executions for this kind of subject.
Value in
- "contact"
- "company"
- "opportunity"
- "task"
- "meeting"
- "note"
- "call"
- "subscription"
- "order"
- "cart"
- "survey_response"
- "opportunity_contact"
- "meeting_contact"
- "webhook_request"
Only executions for this record (subject.uuid), for example a contact from list_contacts. Case-insensitive.
uuidPart of the name of the record of the execution, case-insensitive and literal (% and _ are plain characters). Up to 120 characters; surrounding spaces are ignored.
length <= 120Only executions that started at this instant or later. ISO 8601 with its offset.
date-timeOnly executions that started before this instant (excluded). ISO 8601 with its offset; not before created_from.
date-timeExecutions per page. Default 25, maximum 50.
1 <= value <= 5025Opaque cursor of the next page, taken from the hydra:next link of the previous response. Use it only with the same workflow and filters.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/workflows/3f6c2a1e-8b4d-4c7a-9e10-5d2b7a9c4e61/executions?state=blocked&revision=2&subject_type=contact&subject_uuid=7d1f0c2e-4b3a-4e8d-9c6b-2a1f0e9d8c7b&search=ana&created_from=2026-11-01T00%3A00%3A00%2B00%3A00&created_before=2026-11-11T00%3A00%3A00%2B00%3A00&itemsPerPage=25&cursor%5Bgt%5D=MjAyNi0xMS0xMCAwOTowMDowMC4wMDAwMDB8NDI" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "workflow": "/entity/1", "revision": 1, "trigger_uuid": "43e2987b-434b-472d-969b-3472dba75b7d", "subject": { "type": "contact", "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "label": "string", "detail": "string", "state": "visible" }, "state": "active", "cause": null, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "next_attempt_at": "2019-08-24T14:15:22Z", "expires_at": null, "current_node_uuid": "3a088e5d-867c-4933-abca-0016522be31d", "current_iteration": { "for_each_uuid": "1e576042-7398-4521-a7db-c1de907448b7", "index": 0 }, "detail_purged": true, "summary": null }]