Docs
Deliverability

Refresh setup score

Re-resolve DNS and return the refreshed setup score

Synchronously re-runs the SPF/DKIM/DMARC/MX lookups, persists the records, and returns the recomputed score. A record whose lookup failed at the resolver is left untouched rather than recorded as failing, so a resolver blip does not depress the score; a record that has never resolved at all reads unknown.

POST
/v2/workspaces/{workspaceId}/accounts/{id}/setup-score/refresh

Path Parameters

workspaceIdnumber
idnumber

Response Body

curl -X POST "https://lynx-api.trulyinbox.com/v2/workspaces/0/accounts/0/setup-score/refresh"
{
  "data": {
    "accountId": 456,
    "emailAddress": "john@acme.com",
    "score": 82,
    "band": "green",
    "items": [
      {
        "key": "spf",
        "label": "SPF record",
        "score": 29,
        "maxScore": 29,
        "indeterminate": true
      }
    ],
    "dnsCheckedAt": "2019-08-24T14:15:22Z"
  },
  "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"
  }
}