Skip to content

Resend a pending reader's confirmation email

On this page
POST/v1/subscribers/{subscriber_id}/resend-confirmationresend_subscriber_confirmation
Riskwrite
AuthenticationAPI key or OAuth access token
Scopessubscribers:write
Idempotencysupported: send an Idempotency-Key header to make retries safe
Dry runyes: add dry_run=true to the query
Success status200
Response typeapplication/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#

FieldTypeDescription
subscriber_idstring

Query parameters#

None.

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

Response#

FieldTypeRequiredDescription
statusone of "added_pending", "confirmation_resent", "added_confirmed", "updated", "already_subscribed", "already_pending", "cannot_resubscribe", "invalid", "plan_limit", "daily_limit", "unavailable"yes
emailstringyes
messagestringyes
codestringno
subscriber_idstringno

Examples#

resent#

Request:

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": "[email protected]",
  "message": "Confirmation email re-sent. The previous link no longer works.",
  "subscriber_id": "sub_0123456789abcdefghjkmnpq"
}

Errors#

Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.