Domains

Add a domain

POST
/domains

Authorization

bearer
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
capabilities?|null
click_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*string
open_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.

Response Body

Success

application/json
  1. response
capabilities*
click_tracking*boolean
created_at*string
dmarc_reports*boolean

exx 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*string
Formatuuid
name*string
object?string|null
open_tracking*boolean
receiving_status*string

Independent public MX verification state.

records?array<>|null
region*string
status*string
tracking_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.

Example Request
curl -X POST 'https://api.exx.sh/domains' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "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"}