Create a key to copy examples filled with your team.
Sending domains
Create, verify, suspend, and resume domains.
DKIM, SPF, and return-path live on the sending domain, not the tenant. Publish the CNAME and TXT records, then verify. The first domain becomes the account primary. Every outbound message is also DKIM-signed with that domain.
GET /api/v1/teams/:team_id/sending_domains
List sending domains and their DNS records.
GET /api/v1/sending_domains/:id
Get one domain, including DKIM CNAME, SPF, and return-path.
id: Sending domain id
POST /api/v1/teams/:team_id/sending_domains
Create a domain. Optional tenant_id. Defaults to the team's default tenant. Queues a DNS check.
POST /api/v1/sending_domains/:id/suspend
Pause sending for this domain. Same as SendingDomain#suspend!.
id: Sending domain id
POST /api/v1/sending_domains/:id/resume
Resume sending for this domain. Same as SendingDomain#resume!.
id: Sending domain id
POST /api/v1/sending_domains/:id/make_primary
Make this the account primary. Outbound mail is also DKIM-signed with this domain. Same as Team#assign_primary!.
id: Sending domain id