Update a sending domain
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:write ability
Path parameters
domainstringrequiredId of the sending email domain, starting with edm_, such as edm_01jx2m8k4t. Find it with GET /email-domains.
Body
application/jsondns_hoststringThe DNS host the person uses; an empty string goes back to the detected one.
Maximum length: 32
mail_from_subdomainstringThe return path label, such as bounce.
Minimum length: 1 · Maximum length: 63
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
ascii_domainstringrequiredThe domain as DNS stores it, in ASCII, such as xn--mnchen-3ya.de. Same as domain for plain names.
created_atstringrequiredWhen it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
dns_setupobjectrequiredShow child attributesHide child attributes
apply_urlstringThe link to open at the DNS host to approve adding the records. Present only once someone asked for the setup.
host_namestringrequiredThe name of the DNS host that can add the records itself.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
domainstringrequiredThe domain as people write it, such as acme.com.
driverstringrequiredThe mail service the domain is set up to send through: ses, smtp, postmark, resend, mailgun or sendgrid.
failure_messagestring | nullrequiredA sentence explaining failure_reason in words. Null when there is no failure.
failure_reasonstring | nullrequiredWhy the domain failed: not_verified, records_removed, ownership_transferred or provider_rejected_sender. Null when it has not failed.
host_guideobjectrequiredShow child attributesHide child attributes
deep_linkstringrequiredAddress of the DNS host's records page for this domain, where the records are added.
detectedbooleanrequiredTrue when the DNS host was read from the domain's name servers; false when the team picked it or it is unknown.
host_formstringrequiredHow this host wants a record's name typed: relative (without the domain) or fqdn (the whole name).
keystringrequiredShort key of the DNS host, such as cloudflare, route53 or godaddy; other when the host is not known.
namestringrequiredThe DNS host's name as people know it, such as Cloudflare; Your DNS host when it is not known.
quirksstring[] | nullrequiredThings that trip people up at this DNS host, as sentences in the reader's language.
stepsstring[] | nullrequiredThe steps to add the records at this DNS host, in order, as sentences in the reader's language.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
last_checked_atstring | nullrequiredWhen the domain's DNS records were last checked. Null when never checked.
Format: date-time
linksobjectrequiredShow child attributesHide child attributes
checksstringrequiredThe API address of the domain's DNS checks.
selfstringrequiredThe API address of this domain, such as https://.../api/v1/email-domains/edm_...
zone_filestringrequiredThe API address that returns the domain's records as a BIND zone file, to import at a DNS host.
mail_from_domainstring | nullrequiredThe subdomain used as the return path for bounces, such as bounce.acme.com. Null when none is set up.
next_check_atstring | nullrequiredWhen the DNS records will be checked again. Null when no check is planned.
Format: date-time
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
provider_hintstringrequiredThe key of the DNS host the setup instructions are written for, such as cloudflare, route53 or godaddy, or other when unknown.
provider_trustedbooleanrequiredTrue when the install's operator listed this domain as already set up at the mail service.
recordsobject[] | nullrequiredThe DNS records to publish for the domain, each with what it is for, where it goes, its value and what the last check found.
Show child attributesHide child attributes
hoststringrequiredThe record's name as it should be typed at the domain's DNS host, which may be relative to the domain, such as dimmi._domainkey.
namestringrequiredThe record's fully qualified name, such as dimmi._domainkey.acme.com.
observedstring[] | nullrequiredThe values the last check actually found at this record. Empty when nothing was found or no check has run.
priorityintegerThe priority to set on an MX record. Absent on other record types.
Format: int64
purposestringrequiredWhat the record is for: ownership, dkim, return_path, return_path_spf, spf or dmarc.
requiredbooleanrequiredTrue when the domain cannot be verified until this record is in place; false for guidance.
selectorstringOn a guidance record, the mail provider's own hint it refers to. Absent otherwise.
statusstringrequiredWhat the last check found: verified, mismatch, missing, propagating, error, or info for guidance a check never blocks on.
typestringrequiredThe DNS record type, such as TXT, CNAME or MX.
valuestringrequiredThe value the record must hold.
statusstringrequiredWhere the domain stands: pending, verifying, verified, degraded (was verified, now failing checks) or failed.
updated_atstringrequiredWhen it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
Format: date-time
verified_atstring | nullrequiredWhen the domain was verified for sending. Null while it is not verified.
Format: date-time
warningsobject[] | nullrequiredMistakes the last check found in the domain's DNS, each with a code, a message and, where it helps, the host and the fixing value. Empty when none.
Show child attributesHide child attributes
codestringrequiredThe kind of mistake found, such as duplicate_spf, dmarc_missing, cloudflare_proxied, doubled_domain, propagating or domain_claimed.
hoststringThe DNS name of the record the mistake is at. Absent when it does not point at one record.
messagestringrequiredA sentence explaining the mistake and what to do about it.
valuestringThe value that fixes the mistake, where one helps. Absent otherwise.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.