Confirm an email campaign
PUT/api/partner-gateway/campaigns/email/:id/confirm
Confirms a draft campaign (status CREATED): the recipients are counted, the price is reserved on your wallet and the content checks start (status VALIDATING).
- Checks passed: the campaign moves to
PRE_BILLEDand is sent at itsscheduledDate, or at once without one. A new sender may first wait for an operator review (HUMAN_REVIEW). - Checks failed: the campaign moves to
REJECTEDorQUARANTINE, the credit is released, and you can fix it and confirm it again. - Unsubscribe link: every email carries one. Pass the
idof your own link asunsubscribeLinkId, otherwise a standard link is added at the end of the email. - Follow the status with
GET /campaigns/email/{id}.
Preview the price first with
GET /campaigns/email/{id}/price: confirming without enough credit answers402.
Request
Responses
- 202
- 400
- 401
- 402
- 404
Campaign confirmed: the price is reserved and the content checks have started. The body is {"status": "success", "data": null}.
The campaign is not a draft (status CREATED).
The API key is missing or invalid, or holds neither CAMPAIGNS nor EMAIL.
Your wallet does not cover the price of the campaign.
No email campaign with this ID in your account.