Skip to main content

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_BILLED and is sent at its scheduledDate, or at once without one. A new sender may first wait for an operator review (HUMAN_REVIEW).
  • Checks failed: the campaign moves to REJECTED or QUARANTINE, the credit is released, and you can fix it and confirm it again.
  • Unsubscribe link: every email carries one. Pass the id of your own link as unsubscribeLinkId, 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 answers 402.

Request​

Responses​

Campaign confirmed: the price is reserved and the content checks have started. The body is {"status": "success", "data": null}.