Get deliverability insights
Per-account deliverability insights
curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/0/analytics/deliverability"{
"data": {
"overallRate": 0,
"perAccount": [
{
"accountId": 0,
"emailAddress": "string",
"deliverabilityRate": 0,
"bounceRate": 0,
"spamRate": 0,
"sent": 0
}
]
},
"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"
}
}Refresh setup scorePOST
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`.
Get deliverability score for an accountGET
Deliverability for a single account (rolling 30-day window) The same row `analytics/deliverability` returns for this account, without scanning the whole workspace. An account with no sends in the window reports zeros rather than 404ing. The window is fixed at 30 days and is not caller-configurable, so the number matches the workspace-level response.