> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postinger.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Retry failed posts

> Send the failed targets of a post again.

When a target fails, the post becomes `partial` (some targets went out) or `failed` (none did). Each failed target has an `errorCode` and an `error` saying why: see [why a target failed](https://docs.postinger.dev/concepts/posts.md#why-a-target-failed).

## Find failed posts

```bash cURL theme={"system"}
curl "https://api.postinger.dev/v1/posts?status=failed" \
  -H "Authorization: Bearer $POSTINGER_API_KEY"
```

```bash CLI theme={"system"}
postinger posts list --status failed
```

Or subscribe to the `post.failed` and `post.partially_published` [webhooks](https://docs.postinger.dev/api-reference/webhooks/events.md).

## Retry

Fix the cause first (reconnect the account, fix billing), then:

```bash cURL theme={"system"}
curl -X POST https://api.postinger.dev/v1/posts/POST_ID/retry \
  -H "Authorization: Bearer $POSTINGER_API_KEY"
```

```bash CLI theme={"system"}
postinger posts retry POST_ID
```

```text MCP prompt theme={"system"}
Retry yesterday's failed TikTok post.
```

Every failed target goes out again, now. To retry only one, send its account (`--account` with the CLI):

```json theme={"system"}
{ "socialAccountId": "TIKTOK_ID" }
```

> [!WARNING]
>
> A target that failed with `outcome_unknown` may have been published. Check the profile before you retry it, or it may be posted twice.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.