Channels
Email: domains, DNS & sending
Verify your sending domain with SPF, DKIM and DMARC, then send email through the same API as every other channel.
Before WeZend sends email in your name, you prove that you own the domain. This is what keeps your mail out of the spam folder — inbox providers trust mail that is cryptographically tied to a verified domain.
1. Add your domain
In the dashboard, open Settings → Email domains and add the domain you send from (for example mail.yourcompany.com). The API equivalent:
curl -X POST https://api.wezend.com/v1/account/email-domains \
-H "X-API-Key: $WEZEND_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "domain": "mail.yourcompany.com" }'
The response lists the exact DNS records to create: an SPF record (which servers may send for you), a DKIM key (a signature receivers verify) and a DMARC policy (what receivers should do when a message fails the first two).
2. Create the DNS records
Copy each record into your DNS provider exactly as shown. DNS changes can take from minutes to a few hours to propagate.
3. Verify
Click Verify in the dashboard or call POST /v1/account/email-domains/:id/verify — the platform runs live DNS checks and marks each record green or red, telling you precisely which record is wrong if one fails.
4. Send
Once verified, email is just another channel on the same endpoint you already use:
curl -X POST https://api.wezend.com/v1/messages/send \
-H "X-API-Key: $WEZEND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "customer@example.com",
"channel": "email",
"sender": "hello@mail.yourcompany.com",
"subject": "Welcome!",
"html": "<h1>Hi there</h1><p>Thanks for signing up.</p>"
}'
Opens and clicks are tracked automatically (a tracking pixel and rewritten links), bounces and complaints feed the suppression list, and your sender reputation is monitored continuously — see Deliverability.
One platform. Every customer interaction.
Replace your patchwork of messaging APIs, CDP and automation tools with a single engagement platform built for scale.
No credit card required · EU data residency · 99.99% uptime SLA