Register new domain

curl https://api.acymailer.com/api/createDomainIdentity \
 -X POST
 -H 'Content-Type: application/json' \
 -H 'API-KEY: your-license-key' \
 -H 'Version: external' \
 -d '{"domain": "example.com","siteUrl": "https://example.com"}'

POST /api/createDomainIdentity

This endpoint allows you to register a new domain identity to send email with

Headers

Name
Value

Content-Type

application/json

API-KEY

<license-key>

Version

Must be "external"

Body

{
    "domain": "example.com",
    "siteUrl": "https://example.com"
}
  • domain must be your root domain, if you register a subdomain it won't work.

  • siteUrl must be https://<your-domain>, even if you don't have a website at this address

Response

Last updated