Add a sending domain
POST/domains
Register a new sending domain on the account. Returns the full set of DNS records that must be published before email can send from this domain.
Idempotent: calling this with a domain already registered on the current project returns the existing domain (200) instead of erroring, so re-runs from IaC tooling are safe.
Request
Responses
- 200
- 201
- 400
- 403
- 409
Domain already existed on this project — existing record returned (idempotent replay)
Domain added successfully
Invalid domain format
Plan domain limit reached
Domain is registered by another project/account