eusend
Domains

Domain Setup

Add your own sending domain to sign outbound emails with your DKIM key, improving deliverability and brand trust.

Add your own sending domain to sign outbound emails with your DKIM key, improving deliverability and brand trust. eusend auto-generates a 2048-bit RSA DKIM keypair for your domain.

POST/domains
ParameterTypeDescription
namerequiredstringYour domain name (e.g. acme.com). Must be at least 3 characters.
add domain
curl -X POST https://api.eusend.dev/domains \
  -H "Authorization: Bearer eu_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{ "name": "acme.com" }'
response — 201 Created
{
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "name": "acme.com",
  "dkim": {
    "type": "TXT",
    "name": "eusend._domainkey.acme.com",
    "value": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgK..."
  },
  "spf": {
    "type": "TXT",
    "name": "acme.com",
    "value": "v=spf1 include:_spf.eusend.dev ~all"
  },
  "dmarc": {
    "type": "TXT",
    "name": "_dmarc.acme.com",
    "value": "v=DMARC1; p=none; rua=mailto:dmarc@acme.com"
  }
}

After creating the domain, add the DNS records shown in the next section, then call the verify endpoint.

POST/domains/:id/verify

Trigger DKIM verification. eusend checks your DNS records and updates the domain status to verified or failed.

The rest of the domains surface:

GET/domains

List domains.

GET/domains/:id

Get domain details.

DELETE/domains/:id

Delete domain.