Get a sending domain
GET /sender_domains/{uuid}
/sender_domains/{uuid}Returns one sending domain with its state (verified, authenticated, aligned), the public page with the DNS instructions (authentication_info_url) and, while it is not authenticated, the DNS records to create: DKIM and mail server (CNAME), DMARC (TXT) and, with links_aligned, tracking (CNAME).
When to use: To read the DNS records you must create, or to check how far a domain is in the process.
When not to use: To list all domains use list_sender_domains; to check the DNS records now use authenticate_sender_domain.
Permissions: Requires the manager role or higher, or the marketing.campaigns.read capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the sending domain. Get it with list_sender_domains.
Response Body
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/sender_domains/7e4b2c90-1d58-4a3f-9b6e-c2f8a0d5e713" \ -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"}