Docs
Deliverability

Run a DNS health check

Re-check DNS and return the domain-security records

Re-resolves SPF/DKIM/DMARC/MX, stores the actual record values, and returns them with the per-zone DNSBL breakdown and the red/yellow/green field bands. null body means the domain has no stored evidence yet - pending, not clean.

GET
/v2/workspaces/{workspaceId}/accounts/{id}/dns

Path Parameters

workspaceIdnumber
idnumber

Response Body

curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0/accounts/0/dns"
{
  "data": {
    "domain": "string",
    "score": 0,
    "band": "green",
    "fields": [
      {
        "key": "spf",
        "label": "string",
        "score": 29,
        "maxScore": 29,
        "indeterminate": true
      }
    ],
    "spfData": {},
    "dmarcData": {},
    "dkimData": {},
    "mxRecordData": {},
    "domainBlacklistData": {},
    "ipBlacklistData": {},
    "ipAddress": {},
    "recordsRefreshedAt": {},
    "blacklistRefreshedAt": {},
    "scoredAt": {},
    "senderName": {}
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}