Skip to main content
Transactional emails (order confirmations, password resets, OTPs) use the dedicated Email API at https://email-api.mailercloud.com — separate from the campaign API. Set version to "1.0" when sending html only, or "2.0" when including amp_html.

Per-recipient personalization (mail merge)

To personalize each recipient’s email in a single request — Hi {{first_name}}, your order {{order.id}} shipped — use the mail merge endpoint: same request structure at POST /email-api, plus a merge_vars object on each recipients.to[] entry.

Attachments

Pass an attachments array with a name and a publicly fetchable url per file — see the full reference.