# Send a failed message again

`POST /mail/messages/{id}/resend` · Rivier · campaigns

Send a failed message again. When the earlier outcome is unknown (the connection ended mid-send) you must confirm it was not delivered.

- Scope: campaigns:write
- Mcp: rivier_campaign_mail_resend
- Graphql: Mutation.campaignsMailMessageResend
- Sdk: mail.messages.resend
- Cli: mail resend

## Parameters

- `id` (path, required), string

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "confirmNotDelivered": {
      "type": "boolean",
      "description": "Required when the earlier outcome is unknown: you have checked that it was not delivered"
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/mail/messages/{id}/resend' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "confirmNotDelivered": false
}'
```
