List domains
The domains of the workspace, newest first, with their status and region.
domains_listArguments
qstringText to search for. Only items that contain it are returned. Up to 40 characters.
limitintegerHow many items to return, from 1 to 100. Without it you get 25.
offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.statusstringOnly domains in this state:
pending,verifiedorfailed.One of
pendingverifiedfailedregionstringOnly domains in this region.
One of
us-east-1eu-west-1ap-northeast-1
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"list"Always
list.dataobject[]The items on this page.
data[].object"domain"Always
domain.data[].idstringThe id of the domain.
data[].namestringThe domain name, such as
mail.example.com.data[].statusstringWhere verification stands:
pendinguntil every record is found,verifiedafter that,failedwhen a record is wrong.One of
pendingverifiedfaileddata[].regionstringThe region mail from this domain is sent from.
One of
us-east-1eu-west-1ap-northeast-1data[].openTrackingbooleanWhether opens are counted for mail from this domain.
data[].clickTrackingbooleanWhether clicks are counted for mail from this domain.
data[].recordsobject[]The DNS records to publish, each with whether it was found.
data[].records[].idstringThe id of the record.
data[].records[].typestringThe type of DNS record:
MX,TXTorCNAME.One of
MXTXTCNAMEdata[].records[].hoststringThe name to publish the record under.
data[].records[].valuestringWhat the record has to hold.
data[].records[].priorityinteger | nullThe priority of an
MXrecord, andnullfor the other types.data[].records[].ttlstringHow long resolvers may keep the record, as your DNS provider writes it.
data[].records[].statusstringWhether the record was found:
pending,verifiedorfailed.One of
pendingverifiedfaileddata[].eventsobject[]What has happened to the domain since it was added.
data[].events[].idstringThe id of the event.
data[].events[].titlestringWhat happened, in a few words.
data[].events[].atstringWhen it happened.
data[].events[].statusstringWhere verification stood after it.
One of
pendingverifiedfaileddata[].events[].detailstringMore about what happened.
data[].createdAtstringWhen the domain was added.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.