---
title: "Resend to failed recipients"
method: POST
path: "/campaigns/{campaignKey}/resend-unsent"
tags: ["campaigns"]
---

# Resend to failed recipients

`POST /campaigns/{campaignKey}/resend-unsent`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/campaigns/{campaignKey}/resend-unsent`
- Auth: HTTP bearer

Only in sending state; resends to failed recipients and includes frozen-audience members that were never claimed. `dryRun` returns only the list to resend.

## Path parameters

- `campaignKey` string, required: campaign stable key

## Request body

- object
  - `dryRun` boolean

## Response `200`

Resend result

- object
  - `success` boolean, required
  - `resend` boolean
  - `campaignKey` string, required
  - `unsentCount` number, required

## Other responses

- `400`: Invalid parameters
- `401`: Missing or invalid API key
- `402`: Insufficient balance
- `404`: Campaign not found
- `409`: Only sending campaigns can resend
- `500`: Missing authentication context
- `502`: Upstream sending service error

---

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