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": "VALID",
"dkimStatus": "VALID",
"dmarcStatus": "VALID"
}
Possible states: VALID, PENDING, FAILED (per dashboard implementation).
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.