Campaigns

Retry a campaign's failed sends

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.

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)

Path parameters

idstring uuid required

Resource id.

Response

The retry was queued

idstring uuid required
queuedinteger required

How many FAILED rows the retry walk was started for, counted when it was queued.

Changes

No recorded changes to this operation across all 1 revision of this API.