---
title: "Retry a campaign's failed sends"
method: POST
path: "/api/v1/campaigns/{id}/retry-failed"
tags: ["Campaigns"]
---

# Retry a campaign's failed sends

`POST /api/v1/campaigns/{id}/retry-failed`

## Request

- Base URL: `https://api.sendly.now`
- URL: `https://api.sendly.now/api/v1/campaigns/{id}/retry-failed`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`
  - OAuth 2 (authorization code, authorization URL `https://app.sendly.now/api/auth/oauth2/authorize`, token URL `https://app.sendly.now/api/auth/oauth2/token`, scopes: `campaigns:write`)

Re-drive only the recipients whose send failed, through the same pipeline the campaign used. Nobody who was already mailed is mailed again: each ledger row is claimed before it is touched, and a row whose email was created before the failure was recorded is re-queued rather than re-sent.

The retry runs in the background, so this returns as soon as it is queued, with the number of rows it was queued for. Takes no request body.

Only a `SENT` campaign can be retried: a `SENDING` or `PAUSED` one still has its own send in progress against the same ledger, and a `CANCELLED` one was stopped deliberately.

Requires the `campaigns:write` scope — Create, edit, and organize your campaigns.

## Path parameters

- `id` string, uuid, required: Resource id.

## Response `200`

The retry was queued

- CampaignV1RetryFailed: Acknowledgement that a retry of a campaign's failed sends began.
  - `id` string, uuid, required
  - `queued` integer, required: How many FAILED rows the retry walk was started for, counted when it was queued.

## Other responses

- `400`: `validation_error` — only a `SENT` campaign can have its failed sends retried.
- `401`: `invalid_api_key` or `invalid_session` — missing or invalid credentials.
- `403`: `scope_missing`, `project_access_denied`, or `project_disabled`.
- `404`: `resource_not_found` — no campaign with this id belongs to the authenticated project.
- `409`: `conflict` — a retry is already running for this campaign.
- `422`: `validation_error` — query, path, or body parameters did not match the schema.
- `429`: `rate_limited` — see `Retry-After` and the `RateLimit` headers.
- `500`: `internal_error`.

---

[API](https://skmtc.dev/sendly/apis/sendly-api.md) · [All operations](https://skmtc.dev/sendly/apis/sendly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sendly/apis/sendly-api/revisions/ce7cfb7f7c7e?raw)
