Add a sending domain
Domains
Add a sending domain
Registers a domain with the sending provider and returns the row with status: "pending" and the DNS records to publish. After publishing DNS, call PATCH { domainId, verify: true } to verify. 409 when the domain already exists or is verified in another workspace.
POST
Add a sending domain
Authorizations
Send your Brew API key as Authorization: Bearer brew_xxx.
Headers
Optional idempotency key for safe retries. Reusing the same key with the same request body returns the original response for 24 hours.
Required string length:
1 - 100Body
application/json
Response
Created. One-element { domains: [row] } (status pending).