Mailboxes

Get Deliverability

Sender health: a 0-100 score per mailbox (hard-bounce and complaint rates over the deliverability guard's window, pause, connection) and per sending domain (its mailboxes plus its last SPF / DKIM / DMARC / MX check), today's sends against the (warmup) cap.

API key access

Needs the mailboxes:read scope with an API key (ro_pat_...). A signed-in session uses the caller's role.
GET/api/v1/deliverability
AuthorizationBearer <token>

Access token from /api/v1/auth/login, or an API key (ro_pat_..., RO-176) from /api/v1/workspaces/current/api-keys: the key implies its workspace and needs the route's scope. MCP connectors (/api/v1/mcp only) may use an OAuth access token (ro_oat_..., RO-284).

In: header

Header Parameters

X-Workspace-Id?string | null

Id of the workspace to act on (must be a member).

Response Body

curl -X GET "http://localhost:8000/api/v1/deliverability" \  -H "X-Workspace-Id: string"
{
  "window_hours": 0,
  "dns_checks_enabled": true,
  "mailboxes": [
    {
      "mailbox_id": "4d23d1af-2eef-4598-a5e0-1f19ae0b0c14",
      "email_address": "string",
      "domain": "string",
      "status": "connected",
      "paused_at": "2019-08-24T14:15:22Z",
      "pause_reason": "string",
      "score": 0,
      "level": "healthy",
      "issues": [
        "string"
      ],
      "sent": 0,
      "hard_bounces": 0,
      "complaints": 0,
      "sent_today": 0,
      "daily_cap": 0,
      "warming_up": true
    }
  ],
  "domains": [
    {
      "domain": "string",
      "mailboxes": 0,
      "score": 0,
      "level": "string",
      "issues": [
        "string"
      ],
      "sent": 0,
      "hard_bounces": 0,
      "complaints": 0,
      "shared": true,
      "dns": {},
      "dns_checked_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}