List a contact's automation runs

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
FieldTypeDescription
idrequiredstring · pathThe contact's id (`con_…`) or email.
Response · 200 fields12 fields
FieldTypeDescription
objectrequiredstring—
idrequiredstring—
automation_idrequiredstring—
automation_namerequiredstring—
contact_idrequiredstring—
statusrequiredstringactive | waiting | completed | exited | goal_met | failed | canceled
exit_reasonrequiredstring | null—
at_blockrequiredobject | nullThe block the run waits at or runs next, or failed at.
heldrequiredbooleanA 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.
versionrequiredinteger | null—
started_atrequiredstring—
completed_atrequiredstring | null—
200401403404

Search docs and guides

Search the docs and product guides.