Skip to main content
Register a domain you own so you can send from your own brand. The response carries the exact DNS records to publish; once they resolve, call verify. POST /v1/domains Creating a domain returns it in pending status along with a records array — DKIM (a CNAME), SPF, and DMARC (both TXT). Publish all of them at your DNS provider, then verify to flip the domain to verified.

Body

string
required
The fully-qualified domain or subdomain to send from, for example mail.acme.com. A subdomain dedicated to sending is recommended so DMARC policy on your root domain is untouched.
Account-wide keys may name the owning project with the X-Drin-Product header; project-scoped keys omit it. See Authentication.

Request

Response

201 Created — the domain plus the records to publish. Each record carries a purpose (dkim, spf, dmarc) and a verified flag that stays false until the record resolves.
No DNS yet? You can send from a shared onboarding domain in test mode without adding a domain at all — it just can only deliver to your own address. See the Quickstart.