List a contact's automation runs
GET/api/v1/contacts/{id}/automation-runs
GET /contacts/{id}/automation-runs
curl -X GET 'https://www.unitpost.com/api/v1/contacts/con_123/automation-runs' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Response · 200
{
"object": "list",
"has_more": false,
"data": [
{
"object": "automation_run",
"id": "id_123",
"automation_id": "automation_123",
"automation_name": "string",
"contact_id": "contact_123",
"status": "queued",
"exit_reason": "string",
"at_block": {
"id": "id_123",
"title": "string"
},
"held": false,
"version": 0,
"started_at": "2026-01-01T00:00:00.000Z",
"completed_at": "2026-01-01T00:00:00.000Z"
}
]
}One contact's runs across every automation, as the contact page shows them: the runs in progress first (newest first, up to 20, has_more when there are more), then the latest 10 finished ones (finished runs are kept 30 days on Free, 90 otherwise). Each names its automation and the block it waits at, runs next or failed at. {id} is the contact's id or email. Open one with Retrieve a run. Also needs contacts:read. Requires the automations:read capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
idrequired | string · path | The contact's id (`con_…`) or email. |
Response · 200 fields12 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
automation_idrequired | string | — |
automation_namerequired | string | — |
contact_idrequired | string | — |
statusrequired | string | active | waiting | completed | exited | goal_met | failed | canceled |
exit_reasonrequired | string | null | — |
at_blockrequired | object | null | The block the run waits at or runs next, or failed at. |
heldrequired | boolean | A pause froze the run at its next step; Resume continues it. A run still on a wait timer of a paused automation reads false until its wait ends. |
versionrequired | integer | null | — |
started_atrequired | string | — |
completed_atrequired | string | null | — |
200401403404