Enable inbound email receiving on a custom domain that has already been verified.Calling this endpoint stamps the domain as inbound-enabled and returns the inbound MX
record you must publish in your DNS. Once that MX record is detected in DNS during the
next verification check, inbound emails becomes live
for the domain (at which point inboundDomainVerifiedAt is set).
Authorizations
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Path Parameters
string
required
The id of the domain on which to enable inbound receiving.
Response
boolean
Indicates whether the request was successful.
object
The updated domain object.
Show Domain object
string
Unique identifier for the domain (id).
string
The domain name (e.g. example.com).
string
Overall domain verification status. One of PENDING_CONFIGURATION, PENDING, or VERIFIED.
object
DNS records for the domain. After enabling inbound, this includes the inboundMx
record you must publish.
Show DNS Records object
object
The MX record to publish so AutoSend can receive mail for this domain. Contains
name, value, type, purpose, and priority fields.
string
ISO 8601 timestamp of when the domain was added.
string
ISO 8601 timestamp of the last DNS verification check.
string
ISO 8601 timestamp of when the domain was verified. Only present for verified domains.
string
The AutoSend region key where the domain is configured (e.g. us-east-1).
string
ISO 8601 timestamp of when inbound receiving was enabled on the domain.
string
ISO 8601 timestamp of when the inbound MX record was detected i.e inbound is verified and live. null until the
MX record is detected in DNS.
Errors
object
Returned when no domain with the given domainId exists in the project.
object
Returned when inbound receiving could not be enabled on the domain.