Domain SMTP
Set up SMTP for a domain
Registers the domain (optionally a subdomain) at the given SMTP provider instance and returns the created SMTP domain together with the refreshed parent domain.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Set up SMTP for a domain › Request Body
smtp_provider_instance_idUUID of the SMTP provider instance to register with.
subdomainOptional subdomain to send from (e.g. mail).
from_domain_modeWhich domain the from-address uses: domain or subdomain. Only applies when a subdomain is set.
Set up SMTP for a domain › Responses
DomainSmtpDomainResource
Apply SMTP DNS records
Creates the required SMTP DNS records for the domain in the managed DNS zone. Also requires the
domain.manage-dns permission.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Apply SMTP DNS records › Responses
DomainSmtpDomainResource
Verify SMTP DNS records
Checks whether the required SMTP DNS records resolve and updates the verification state.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Verify SMTP DNS records › Responses
DomainSmtpDomainResource
List the logs of an SMTP domain
What happened to the mail sent through the SMTP domain, newest first, read live from the provider:
delivered, temporarily failed, failed, rejected or complained, over the last 5 days. Pass cursor
from the previous page to continue, the filters of the first page go with it.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
query Parameters
eventOnly this outcome: delivered, temporarily-failed, failed, rejected or complained.
recipientOnly mail to recipients containing this, as whole words: a full address, a name or a domain.
cursorThe next_cursor of the previous page.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List the logs of an SMTP domain › Responses
Array of DomainSmtpLogEntryResource
next_cursorDelete SMTP for a domain
Removes the SMTP domain at the provider and locally, including its accounts.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete SMTP for a domain › Responses
DomainSmtpDomainResource
Create an SMTP account
Creates a new SMTP mailbox account on the SMTP domain and returns it with generated credentials. The password is only returned here and when it is rotated.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create an SMTP account › Request Body
usernameLocal part of the SMTP address (before the @).
Create an SMTP account › Responses
DomainSmtpAccountResource
Rotate an SMTP account password
Generates a new password for the SMTP account at the provider and returns the updated account, with the new password. It is not returned anywhere else, so it can only be read once.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
domainSmtpAccountThe domain smtp account UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Rotate an SMTP account password › Responses
DomainSmtpAccountResource
Delete an SMTP account
Removes the SMTP account at the provider and locally.
path Parameters
domainThe domain UUID
domainSmtpDomainThe domain smtp domain UUID
domainSmtpAccountThe domain smtp account UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete an SMTP account › Responses
DomainSmtpAccountResource