Add a domain
bearerAuthorizationBearer <token>application/json- body
capabilities?|nullclick_tracking?|Track clicks of the domain's mail (its links redirect through the tracking host).
custom_return_path?|The return-path label (default bounces).
name*stringopen_tracking?|Track opens of the domain's mail (a pixel); the project's tracking scope says
which mail (default broadcasts).
region?|Only eu-west-1.
tls?|Only opportunistic.
tracking_subdomain?|The domain's own tracking host <tracking_subdomain>.<name> (one DNS label): a CNAME
to the shared tracking host, made once the domain is verified.
Success
application/json- response
capabilities*click_tracking*booleancreated_at*stringdmarc_reports*booleanexx extension: whether the domain receives its DMARC aggregate reports.
dmarc_rua?|exx extension: the address for the rua tag of the domain's DMARC record, while
dmarc_reports is on (the DMARC record in records already names it).
id*stringuuidname*stringobject?string|nullopen_tracking*booleanreceiving_status*stringIndependent public MX verification state.
records?array<>|nullregion*stringstatus*stringtracking_status?|exx extension: where that host is: pending until it and its certificate are
active at the edge (tracked links use the shared host until then), active, or
failed (set tracking_subdomain again to retry); null without one.
tracking_subdomain?|The label of the domain's own tracking host (links of links.<name>), or null.
curl -X POST 'https://api.exx.sh/domains' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'{ "capabilities": { "receiving": "string", "sending": "string" }, "click_tracking": true, "created_at": "string", "dmarc_reports": true, "dmarc_rua": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "object": "string", "open_tracking": true, "receiving_status": "string", "records": [ { "name": "string", "priority": 0, "record": "string", "required": true, "status": "string", "ttl": "string", "type": "string", "value": "string" } ], "region": "string", "status": "string", "tracking_status": "string", "tracking_subdomain": "string"}