---
title: "Retry a failed run"
description: "Continue one failed run from the block that failed, in the same run, on the live version (as the Runs tab's Retry). `POST /api/v1/automations/runs/{run_id}/retry`"
url: https://www.unitpost.com/docs/automations/post-automations-runs-run-id-retry
section: "Automations API reference"
updated: 2026-12-01
---
# Retry a failed run

`POST /api/v1/automations/runs/{run_id}/retry`

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.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `run_id` | path | string | yes | — |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `status` | string | yes | — |
| `node_id` | string | yes | The block the run continues from. |
| `version` | integer | yes | The live version it continues on. |

## Responses

| Status | Description |
| --- | --- |
| 200 | The run, live again. |
| 400 | The body isn't JSON. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | Run not found. |
| 409 | The run can't continue (the message says why). |
| 422 | A body key (this operation takes none). |

## Example request

```bash
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'
```

## Example response (200)

```json
{
  "object": "automation_run",
  "id": "id_123",
  "status": "active",
  "node_id": "node_123",
  "version": 0
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/automations/post-automations-runs-run-id-retry
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
