Update domain
Switches open tracking and click tracking on or off for a domain.
domains_updateArguments
idstringRequiredThe id of the item. Up to 64 characters.
openTrackingbooleanWhether to count opens for mail from this domain.
clickTrackingbooleanWhether to count clicks for mail from this domain.
Returns
The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.
object"domain"Always
domain.idstringThe id of the domain.
namestringThe domain name, such as
mail.example.com.statusstringWhere verification stands:
pendinguntil every record is found,verifiedafter that,failedwhen a record is wrong.One of
pendingverifiedfailedregionstringThe region mail from this domain is sent from.
One of
us-east-1eu-west-1ap-northeast-1openTrackingbooleanWhether opens are counted for mail from this domain.
clickTrackingbooleanWhether clicks are counted for mail from this domain.
recordsobject[]The DNS records to publish, each with whether it was found.
records[].idstringThe id of the record.
records[].typestringThe type of DNS record:
MX,TXTorCNAME.One of
MXTXTCNAMErecords[].hoststringThe name to publish the record under.
records[].valuestringWhat the record has to hold.
records[].priorityinteger | nullThe priority of an
MXrecord, andnullfor the other types.records[].ttlstringHow long resolvers may keep the record, as your DNS provider writes it.
records[].statusstringWhether the record was found:
pending,verifiedorfailed.One of
pendingverifiedfailedeventsobject[]What has happened to the domain since it was added.
events[].idstringThe id of the event.
events[].titlestringWhat happened, in a few words.
events[].atstringWhen it happened.
events[].statusstringWhere verification stood after it.
One of
pendingverifiedfailedevents[].detailstringMore about what happened.
createdAtstringWhen the domain was added.