Skip to Content

Get deliverability insights for a sending domain

Requires the Deliverability Insights add-on. Returns delivery, permanent and transient bounce, and complaint rates by mailbox provider.

GET
/v1/email/domains/{id}/deliverability

Requires the Deliverability Insights add-on. Returns delivery, permanent and transient bounce, and complaint rates by mailbox provider. Includes recommendations and Samva-tracked open and click rates for the sending domain. The report covers the last 7 days by default. Use days=30 for a 30-day report.

Authorization

apiKey
headerx-api-key<token>

Path Parameters

id*string
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$

Query Parameters

days?string
Value in"7""30"
mailboxProvider?string

Request one mailbox provider by its name in the delivery metrics.

Length1 <= length <= 128

Response Body

DeliverabilityInsights

application/json
  1. response
domain*string
start*string
end*string
providers*array<>
recommendations*array<>|

Findings for this domain, or null if recommendations are temporarily unavailable.

samvaTracking*
Example Request
import { createClient } from "samva";

const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });

const result = await samva.email.getDeliverabilityInsights({
  "id": "example"
});
Example Response
{
  "domain": "string",
  "start": "string",
  "end": "string",
  "providers": [
    {
      "mailboxProvider": "string",
      "sent": -9007199254740991,
      "delivered": -9007199254740991,
      "permanentBounces": -9007199254740991,
      "transientBounces": -9007199254740991,
      "complaintEligibleDeliveries": -9007199254740991,
      "complaints": -9007199254740991,
      "deliveryRate": 0,
      "permanentBounceRate": 0,
      "transientBounceRate": 0,
      "complaintRate": 0
    }
  ],
  "recommendations": [
    {
      "type": "string",
      "status": "OPEN",
      "impact": "HIGH",
      "description": "string",
      "lastUpdated": "string"
    }
  ],
  "samvaTracking": {
    "openEligibleDeliveries": -9007199254740991,
    "clickEligibleDeliveries": -9007199254740991,
    "uniqueOpens": -9007199254740991,
    "uniqueClicks": -9007199254740991,
    "openRate": 0,
    "clickRate": 0
  }
}

Related documentation