Retry failed recipients as a new draft
Creates a new manual segment from recipients with deliveryStatus === "failed" and a new draft campaign cloned from this campaign.
- Allowed only when the source campaign status is
completedorfailed(no request body). - Copies recipient
name,phone,bsuid, andattributesinto"{source.name} — retry failed", and copies channel, content, bindings,messageSendTtlSeconds,dailyLimitOverride,excludeStoplist, andexcludeBlockedinto"{source.name} (retry)". - Leaves the source campaign unchanged and returns the new
draftcampaign. - Error codes (
400):invalid_status,no_failed_recipients,too_many_failed(over 500 failed recipients).
bearerAuthorizationBearer <API key>Key issued in Settings → Developer → API key. Inbox methods need the Inbox scope. Campaigns methods need the Campaigns scope.
campaignId*stringCampaign id returned by create or list.
application/json- response
id*stringCampaign id.
name*stringCampaign title.
channelId*stringChannel that sends the campaign.
segmentId*|Segment used as the audience, or null while unset on a draft.
status*stringCampaign status.
"draft""sending""pause""completed""failed""scheduled"content*||Template or session text stored on the campaign.
excludeStoplist*booleanWhether recipients on the channel stoplist are suppressed at send time (always enforced as true for MARKETING templates).
excludeBlocked*booleanWhether contacts whose Inbox dialog on the campaign channel is blocked are excluded.
sentAt*|When sending started, or null if it has not started.
date-timescheduledAt*|UTC instant for a scheduled send, or null.
date-timequeuedRemaining*numberRecipients still waiting to be sent.
sentThisPortion*numberTemplate sends already started in the current tier window.
dailyLimitOverride*|Client cap stored for this campaign. Null when unset. This is not the tier snapshot.
dailyLimit*|Tier snapshot written at send: how many template sends this channel may start in a rolling 24 hours (waba_info.current_limit). Null when the tier was unknown or unlimited at send, and null before send. The client cap is dailyLimitOverride. Session text is not counted.
nextPortionAt*|When the next template portion can start after the tier window is full. Null when a portion is not waiting.
date-timeestimatedEndsAt*|Estimated completion from queuedRemaining and the effective 24h cap (override and/or tier snapshot), using nextPortionAt or a rolling 24h window. Null when the queue is empty or the cap is unlimited/unknown.
date-timecreatedAt*stringWhen the campaign was created.
date-timeupdatedAt*stringWhen the campaign was last updated.
date-timestats*Recipient funnel counts for list tables. All campaign responses include this object; the list endpoint loads live aggregates; non-list endpoints return zero-filled stats.
curl -X POST 'https://api.1msg.io/api/v1/campaigns/string/retry-failed'{ "id": "cm3campaign01", "name": "April restock", "channelId": "cm3channel01", "segmentId": "cm3segment01", "status": "draft", "content": { "mode": "text", "text": "Hello" }, "excludeStoplist": true, "excludeBlocked": true, "sentAt": "2026-11-01T09:00:00.000Z", "scheduledAt": "2026-11-01T09:00:00.000Z", "queuedRemaining": 0, "sentThisPortion": 0, "dailyLimitOverride": 0, "dailyLimit": 1000, "nextPortionAt": null, "estimatedEndsAt": null, "createdAt": "2026-11-01T09:00:00.000Z", "updatedAt": "2026-11-01T09:00:00.000Z", "stats": { "recipients": 1200, "sent": 1150, "delivered": 1100, "read": 420, "replied": 85, "errors": 12 }}