Verify a domain
To send mail from a domain (for example, notifications@yourcompany.com) you must
prove you own that domain. Verification is done from the dashboard, by
publishing a TXT record in your DNS — a standard process that doesn’t affect your
email or any other services on the domain.
Verification flow
Section titled “Verification flow”- In the dashboard go to Domains → Add domain and enter your domain
(for example
yourcompany.com). - The panel shows you a unique verification TXT record. Publish it at your DNS provider (Cloudflare, Route 53, Namecheap, etc.).
- Click Verify. The system does a DNS lookup of the TXT record and, if it finds it, marks the domain as verified.
The verification record
Section titled “The verification record”The panel gives you a record shaped like this (the exact token is shown in the panel):
| Field | Value |
|---|---|
| Name / Host | _md-verify.yourcompany.com |
| Type | TXT |
| Value | md-verify=abc123xyz |
| TTL | Any (3600 seconds is fine) |
Without a verified domain you can’t send
Section titled “Without a verified domain you can’t send”Trying to send mail (transactional or campaign) with a from_email whose domain
isn’t verified returns 403 Forbidden with code domain_unauthorized. The
error is returned at request time, before the message is queued.
Authorizing your API keys
Section titled “Authorizing your API keys”Verifying the domain proves ownership; which API keys can send from it is decided by your account’s domain↔key access model. See the Key access to domains guide for the details.
Next step
Section titled “Next step”With the domain verified, set up your email authentication records: SPF, DKIM, and DMARC. These records improve deliverability and protect your domain from spoofing. See the SPF, DKIM & DMARC guide.