Before you start
Good email deliverability depends on proper domain configuration. Complete these steps before sending your first email:Verify your sender domain
In the Zexa dashboard, go to Channels > Email and add the domain you’ll be sending from (e.g.,
yourdomain.com). Zexa will generate the DNS records you need to add.Add DNS records to your domain
Add the following DNS records at your domain registrar or DNS provider to authenticate your emails:
- SPF — authorises Zexa’s mail servers to send on behalf of your domain.
- DKIM — adds a cryptographic signature to outbound messages, proving they haven’t been tampered with.
Send an email via API
Send aPOST request to /messages with "channel": "email" to dispatch an email message.
201 response with the message object:
HTML vs plain text
The email request body accepts two content fields — always provide both:body— the plain text version of your email. This is displayed by email clients that cannot render HTML, and is also used by spam filters when evaluating your message.html— the full HTML version of your email. Most modern email clients render this version.
Delivery tracking
Zexa records engagement and deliverability events for every email you send. View these stats per message or aggregated across a campaign in the Reports section of your dashboard.| Status | Description |
|---|---|
queued | The email has been accepted and is waiting to be dispatched. |
sent | The email has been handed off to the receiving mail server. |
delivered | The receiving mail server confirmed successful delivery to the inbox. |
opened | The recipient opened the email (requires tracking pixel support). |
bounced | The email could not be delivered — the address may be invalid or full. |
spam | The recipient marked the email as spam or junk. |
Next steps
Email Campaigns
Send bulk marketing emails to segmented contact lists with scheduling and reporting.
Contact Lists
Manage your subscriber lists and segment contacts for targeted email campaigns.
