DocumentationVerify domain
Verify domain
Check SPF, DKIM, and DMARC after configuring DNS.
When DNS records are published, verify the domain from the API or the dashboard wizard.
Verification via API
curl -X POST "https://api.mailingcore.com/domains/cldomainid/verify" \
-H "Authorization: Bearer <JWT_access_token>" \
-H "X-Tenant-Id: clxxxxxxxx"
Typical response:
{
"spfStatus": "VERIFIED",
"dkimStatus": "VERIFIED",
"dmarcStatus": "VERIFIED"
}
Possible states: PENDING, VERIFIED, FAILED. Verification is strict — each record must actually match: SPF must include _spf.mailingcore.com, DKIM must expose your mc1 public key, and DMARC must start with v=DMARC1. The domain counts as verified only when all three are VERIFIED; until DKIM is VERIFIED, messages are sent unsigned.
If verification fails
| Problem | Action |
|---|---|
| SPF not detected | Check a single TXT at root; no extra quotes |
| DKIM pending | Confirm host mc1._domainkey and full value |
| DMARC missing | Add _dmarc even with p=none |
| Slow propagation | Wait and retry; use dig or online DNS tools |
After verification
- Use
fromEmailwith that domain inPOST /emails/send - Open and click tracking continues to work with your links
- Hard bounces and complaints feed the suppression list automatically
Remove domain
DELETE /domains/:id — removes the domain from the tenant (requires JWT). Does not delete DNS records at your provider; clean them up manually if you stop using MailingCore.