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
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.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[0-9a-hjkmnp-tv-z]{16,24}$days?stringValue in
"7""30"mailboxProvider?stringRequest one mailbox provider by its name in the delivery metrics.
Length
1 <= length <= 128DeliverabilityInsights
application/json- response
domain*stringstart*stringend*stringproviders*array<>recommendations*array<>|Findings for this domain, or null if recommendations are temporarily unavailable.
samvaTracking*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
}
}