Docs
Deliverability

Get stored DNS records

Get the stored domain-security records

Returns the stored SPF/DKIM/DMARC/MX record values with the per-zone DNSBL breakdown, the red/yellow/green field bands, and the emailValidation send/receive verdict. Nothing is re-resolved and nothing is written - use POST .../setup-score/refresh to re-check first. 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",
    "fields": [
      {
        "key": "spf",
        "label": "string",
        "score": 29,
        "maxScore": 29
      }
    ],
    "spfData": {},
    "dmarcData": {},
    "dkimData": {},
    "mxRecordData": {},
    "domainBlacklistData": {},
    "ipBlacklistData": {},
    "ipAddress": {},
    "recordsRefreshedAt": {},
    "emailValidation": {
      "status": "PASSED",
      "sending": {
        "result": "PASSED",
        "sent": 2,
        "arrived": 1
      },
      "receiving": {
        "result": "PASSED",
        "sent": 2,
        "arrived": 1
      },
      "checkedAt": {},
      "failureReason": {}
    },
    "lastCheckedAt": {},
    "nextManualCheckAt": {},
    "checkInProgress": true
  },
  "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"
  }
}