# resend_subscriber_confirmation

Resend a pending reader's confirmation email

`POST /v1/subscribers/{subscriber_id}/resend-confirmation`

| | |
| --- | --- |
| Risk | write |
| Authentication | API key or OAuth access token |
| Scopes | `subscribers:write` |
| Idempotency | supported: send an Idempotency-Key header to make retries safe |
| Dry run | yes: add dry_run=true to the query |
| Success status | 200 |
| Response type | application/json |

## What it does

- Use when: A pending reader says the confirmation email never arrived.
- Do not use when: the reader is already confirmed or unsubscribed.
- Side effects: Queues one confirmation email; The earlier confirmation link stops working.
- Reversible: No.
- Required scope: subscribers:write.
- Idempotency: supported (Idempotency-Key header).
- Typical next step: call get_subscriber later to see whether they confirmed.

## Scopes

- `subscribers:write`: Add subscribers with double opt-in, update them, unsubscribe them, and change their lists and tags.

## Side effects

- Queues one confirmation email
- The earlier confirmation link stops working

## Request

### Path parameters

| Field | Type | Description |
| --- | --- | --- |
| `subscriber_id` | string |  |

### Query parameters

None.

Every mutation also accepts `dry_run=true`: it runs every check and returns `{"dry_run": true, "would": {...}}` without writing anything.

## Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | one of "added_pending", "confirmation_resent", "added_confirmed", "updated", "already_subscribed", "already_pending", "cannot_resubscribe", "invalid", "plan_limit", "daily_limit", "unavailable" | yes |  |
| `email` | string | yes |  |
| `message` | string | yes |  |
| `code` | string | no |  |
| `subscriber_id` | string | no |  |

## Examples

### resent

Request:

```bash
curl -X POST 'https://api.seemly.com/v1/subscribers/sub_0123456789abcdefghjkmnpq/resend-confirmation' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"
```

Response: `200`:

```json
{
  "status": "confirmation_resent",
  "email": "reader@example.com",
  "message": "Confirmation email re-sent. The previous link no longer works.",
  "subscriber_id": "sub_0123456789abcdefghjkmnpq"
}
```

## Errors

| Status | Codes |
| --- | --- |
| 400 | [`validation_failed`](/developers/md/errors/validation_failed) |
| 401 | [`unauthenticated`](/developers/md/errors/unauthenticated), [`credential_revoked`](/developers/md/errors/credential_revoked), [`credential_expired`](/developers/md/errors/credential_expired) |
| 403 | [`insufficient_scope`](/developers/md/errors/insufficient_scope), [`plan_does_not_include`](/developers/md/errors/plan_does_not_include), [`workspace_paused`](/developers/md/errors/workspace_paused), [`api_suspended`](/developers/md/errors/api_suspended), [`consent_required`](/developers/md/errors/consent_required) |
| 404 | [`not_found`](/developers/md/errors/not_found) |
| 409 | [`conflict`](/developers/md/errors/conflict), [`idempotency_key_reused`](/developers/md/errors/idempotency_key_reused), [`request_in_progress`](/developers/md/errors/request_in_progress) |
| 429 | [`rate_limited`](/developers/md/errors/rate_limited), [`quota_exceeded`](/developers/md/errors/quota_exceeded) |
| 503 | [`service_unavailable`](/developers/md/errors/service_unavailable) |

Every error is an `application/problem+json` body with a `code`, a `fix` sentence and `next_actions`. See [reading a problem response](/developers/md/guides/agents#reading-a-problem-response).

## Typical next steps

- [`get_subscriber`](/developers/md/operations/get_subscriber)

## Related

- [OpenAPI document](https://api.seemly.com/v1/openapi.json)
- [Agent guide](/developers/md/guides/agents)
