Check DNS

GET/v1/domains/:id/dns

Returns the status of each record. We also check every 15 minutes on our own.

Query and path parameters

idstringRequired
The domain ID.
curl https://api.mailyard.com/v1/domains/dom_3h8w2/dns \
  -H "Authorization: Bearer $MAILYARD_KEY"
Response200 OK
{
  "data": { "spf": "valid", "dkim": "missing", "dmarc": "valid", "mx": "valid" }
}