Deliverability

Diagnose why mail from a domain is not arriving

Reads the sending domain's DNS identity, the project's delivery outcomes over the last window_days, and — when an address is given — that recipient's suppression state, then publishes findings: what is actually wrong, worst first, each with a stable code and the fix. Branch on code, never on the prose.

Everything here is read from data the platform already holds. The DNS statuses are the cached results of the verification refresh job, NOT a live lookup — identity.last_checked_at says when they were filled, and a domain that has never been checked reports nulls with a dns_never_checked finding rather than failures.

recent_delivery is PROJECT-WIDE, not per-domain, because an email row records no sending domain; the field says so in its own scope. Rates are suppressed as meaningless below 20 sends in the window.

Requires the deliverability:read scope — Check why mail from one of your domains is not arriving.

get/api/v1/deliverability/diagnose

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/v1/deliverability/diagnose
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: deliverability:read)

Query parameters

domainstring required

A sending domain in this project, e.g. example.com.

addressstring email

Optionally, one RECIPIENT address to check as well. Adds its suppression state — the single most common reason a specific person stops receiving mail while everyone else still does.

window_daysinteger

How far back the delivery counters look. 1–30 days; defaults to 7.

Response

The diagnosis, with findings

addressstring nullable required
checked_atstring date-time required
domainstring required

Changes

No recorded changes to this operation across all 1 revision of this API.