Easymailing
Sending domains

List sending domains

GET /sender_domains

GET/sender_domains

Returns the sending domains of the account. A domain goes through three states: verified false (the ownership email is pending); verified true and authenticated false (the DNS records are not set yet); authenticated true (ready to send).

When to use: To see which domains are set up for sending and how far each one is in the process.

When not to use: For individual sender addresses use list_senders.

Filters: Sorting: Use order[field]=asc|desc with these fields

  • createdAt - When domain was created (default: DESC)
  • updatedAt - When domain was last modified
  • domain - Domain name alphabetically

Permissions: Requires the manager role or higher, or the marketing.campaigns.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Query Parameters

page?integer

The collection page number

Default1
itemsPerPage?integer

The number of items per page

Range0 <= value <= 50
Default30

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/sender_domains" \  -H "X-Auth-Token: YOUR_API_KEY"
[  {    "id": 0,    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "domain": "string",    "email": "user@example.com",    "verified": true,    "authenticated": true,    "aligned": true,    "links_aligned": true,    "subdomain": "string",    "tracking_subdomain": "string",    "authentication_info_url": "http://example.com",    "dns_records": [      {        "type": "CNAME",        "name": "string",        "host": "string",        "value": "string",        "purpose": "DKIM"      }    ],    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  }]