Retry a failed run
POST/api/v1/automations/runs/{run_id}/retry
POST /automations/runs/{run_id}/retry
curl -X POST 'https://www.unitpost.com/api/v1/automations/runs/run_123/retry' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Response · 200
{
"object": "automation_run",
"id": "id_123",
"status": "active",
"node_id": "node_123",
"version": 0
}Continue one failed run from the block that failed, in the same run, on the live version (as the Runs tab's Retry). Blocks that already ran are not repeated, and a message the failed attempt actually sent is recorded, never sent again. 409 when the run isn't failed, didn't fail at a block, the automation isn't live, the run's time limit passed, or the person is mid-journey in another run. Takes no body. Requires the automations:publish capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
run_idrequired | string · path | — |
Response · 200 fields5 fields
| Field | Type | Description |
|---|---|---|
objectrequired | string | — |
idrequired | string | — |
statusrequired | string | — |
node_idrequired | string | The block the run continues from. |
versionrequired | integer | The live version it continues on. |
200400401403404409422