Deliverability — API reference
Sending domains (DNS records, DKIM keys, DMARC, MTA-STS, BIMI), sending stats, reputation, bounces, complaints and DMARC reports (docs/deliverability.md).
← All groups
GET
/api/v1/deliverability/bounces
Recent bounces and deferrals
Scope: deliverability
· paginated
· deliverability.bounces
Parameter In Type Description
limit query integer Default 100, at most 500 domain query string Only this sending domain cursor query string The `next_cursor` of the previous page
Responses 200 · 401 · 403 · 429
200 Success
has_more
boolean
items *
[DeliverabilityFeedback]
fields
DeliverabilityFeedback
bounce_class
string | null
category
string | null
diagnostic
string | null
domain
string | null
feedback_type
string | null
id *
string (uuid)
kind
"bounce" | "deferral" | "complaint"
message_id
string | null
occurred_at
string (date-time)
pool
string | null
reason
string | null
recipient
string (email)
reporter
string | null
smtp_code
any | null
source
string | null
status_code
string | null
suppressed
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/deliverability/complaints
Recent spam complaints
Scope: deliverability
· paginated
· deliverability.complaints
Parameter In Type Description
limit query integer Default 100, at most 500 domain query string Only this sending domain cursor query string The `next_cursor` of the previous page
Responses 200 · 401 · 403 · 429
200 Success
has_more
boolean
items *
[DeliverabilityFeedback]
fields
DeliverabilityFeedback
bounce_class
string | null
category
string | null
diagnostic
string | null
domain
string | null
feedback_type
string | null
id *
string (uuid)
kind
"bounce" | "deferral" | "complaint"
message_id
string | null
occurred_at
string (date-time)
pool
string | null
reason
string | null
recipient
string (email)
reporter
string | null
smtp_code
any | null
source
string | null
status_code
string | null
suppressed
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/deliverability/dmarc-reports
Received DMARC aggregate reports
Scope: deliverability
· paginated
· deliverability.dmarc_reports
Parameter In Type Description
cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 429
200 Success
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
reports *
[DmarcReport]
fields
DmarcReport
date_begin
string (date-time)
date_end
string (date-time)
domain
string
failed
integer
id *
string (uuid)
messages
integer
org_email
string | null
org_name
string
passed
integer
policy
any | null
report_id
string
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/deliverability/dmarc-reports/{id}
A DMARC aggregate report with its rows
Scope: deliverability
· deliverability.dmarc_report
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 403 · 404 · 429
200 Success
report *
DmarcReport & object
fields
date_begin
string (date-time)
date_end
string (date-time)
domain
string
failed
integer
id *
string (uuid)
messages
integer
org_email
string | null
org_name
string
passed
integer
policy
any | null
report_id
string
rows
[object]
fields
count
integer
disposition
string
dkim
string
dkim_domain
string | null
dkim_result
string | null
header_from
string
source_ip
string
spf
string
spf_domain
string | null
spf_result
string | null
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
GET
/api/v1/deliverability/domains
The account's sending domains and their health
Keys need the `deliverability` (or `account`) scope; reading needs the `deliverability:read` or `deliverability:manage` permission, changing `deliverability:manage`.
Scope: deliverability
· paginated
· deliverability.domains
Parameter In Type Description
cursor query string The `next_cursor` of the previous page limit query integer Page size
Responses 200 · 401 · 403 · 429
200 Success
domains *
[DeliverabilityDomain]
fields
DeliverabilityDomain
dmarc_policy
string | null
domain
string
grade
string | null
health_score
integer | null
id *
string (uuid)
The domain id (as in `/domains`)
last_checked_at
string | null
mta_sts_mode
string | null
next_check_at
string | null
records
object
Record purpose → status
has_more
boolean
next_cursor
string | null
Pass as `cursor` for the next page; null on the last
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/deliverability/domains/{id}
A sending domain: records, DKIM keys, rates and guidance
Scope: deliverability
· deliverability.domain
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 403 · 404 · 429
200 Success
domain *
DeliverabilityDomainDetail
fields
DeliverabilityDomainDetail
DeliverabilityDomainDetail
401 Problem details (401)
403 Problem details (403)
404 Problem details (404)
429 Problem details (429)
Example
PATCH
/api/v1/deliverability/domains/{id}
Change a domain's DMARC, MTA-STS or BIMI settings
DMARC steps `none` → `quarantine` → `reject`; an MTA-STS mode change gets a new policy id. Answers the domain as `GET`.
Scope: deliverability
· deliverability.update
Parameter In Type Description
id * path string (uuid)
Request body application/json
bimi_authority_url
string | null
Verified Mark Certificate
bimi_logo_url
string | null
SVG logo
dmarc_policy
"none" | "quarantine" | "reject"
mta_sts_mode
"testing" | "enforce" | "none"
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
domain *
DeliverabilityDomainDetail
fields
DeliverabilityDomainDetail
DeliverabilityDomainDetail
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 The domain is not verified
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/deliverability/domains/{id}/check
Re-check a domain's DNS records now
Scope: deliverability
· Idempotency-Key
· deliverability.check
Parameter In Type Description
id * path string (uuid)
Responses 200 · 401 · 402 · 403 · 404 · 409 · 422 · 429
200 Success
domain *
DeliverabilityDomainDetail
fields
DeliverabilityDomainDetail
DeliverabilityDomainDetail
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 The domain is not verified
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
POST
/api/v1/deliverability/domains/{id}/rotate
Start a DKIM key rotation
Creates new keys; they sign once their DNS records are found. Publish `dns_name` / `dns_value` as TXT records.
Scope: deliverability
· Idempotency-Key
· deliverability.rotate
Parameter In Type Description
id * path string (uuid)
Responses 201 · 401 · 402 · 403 · 404 · 409 · 422 · 429
201 Success
keys *
[DkimKey]
fields
DkimKey
activated_at
string | null
algorithm
string
bits
integer | null
dns_name
string
`<selector>._domainkey.<domain>`
dns_status
string
dns_value
string
The TXT record value
id *
string (uuid)
retire_after
string | null
retired_at
string | null
selector
string
status
string
401 Problem details (401)
402 Problem details (402)
403 Problem details (403)
404 Problem details (404)
409 A rotation is already waiting for its DNS records, or the domain is not verified
Problem
code *
string
Stable machine-readable code (snake_case)
detail
string
A sentence an app can show
error
object | string
Legacy member kept for existing clients (deprecated)
errors
object
Field → messages, for validation errors
instance
string
The request path
message
string
Legacy member of the mobile sign-in errors (deprecated)
request_id
string
status *
integer
title *
string
type
string (uri)
A URI identifying the problem type (https://recordsender.com/problems/<code>)
422 Problem details (422)
429 Problem details (429)
Example
GET
/api/v1/deliverability/reputation
The account's and domains' reputation states
States: `ok`, `warning`, `throttled` (marketing slowed) or `paused` (marketing stopped).
Scope: deliverability
· deliverability.reputation
Responses 200 · 401 · 403 · 429
200 Success
guidance
[DeliverabilityGuidance]
fields
DeliverabilityGuidance
level
"critical" | "warning" | "info" | "ok"
text
string
title
string
state *
"ok" | "warning" | "throttled" | "paused"
The account's state
states
[object]
fields
bounce_rate
number
changed_at
string | null
complaint_rate
number
key
string
`account` or `domain:<name>`
reasons
any
sent
integer
state
"ok" | "warning" | "throttled" | "paused"
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example
GET
/api/v1/deliverability/stats
Sending totals and rates over 24h, 7d and 30d
Scope: deliverability
· deliverability.stats
Parameter In Type Description
domain query string Only this sending domain pool query string Only this sending pool category query string transactional, marketing or personal
Responses 200 · 401 · 403 · 429
200 Success
stats *
object
fields
24h
DeliverabilityStats
fields
DeliverabilityStats
bounce_rate
number
bounces
integer
complaint_rate
number
complaints
integer
deferral_rate
number
deferrals
integer
delivered
integer
delivery_rate
number
hard_bounce_rate
number
hard_bounces
integer
sent
integer
soft_bounce_rate
number
soft_bounces
integer
unsubscribe_rate
number
unsubscribes
integer
30d
DeliverabilityStats
fields
DeliverabilityStats
bounce_rate
number
bounces
integer
complaint_rate
number
complaints
integer
deferral_rate
number
deferrals
integer
delivered
integer
delivery_rate
number
hard_bounce_rate
number
hard_bounces
integer
sent
integer
soft_bounce_rate
number
soft_bounces
integer
unsubscribe_rate
number
unsubscribes
integer
7d
DeliverabilityStats
fields
DeliverabilityStats
bounce_rate
number
bounces
integer
complaint_rate
number
complaints
integer
deferral_rate
number
deferrals
integer
delivered
integer
delivery_rate
number
hard_bounce_rate
number
hard_bounces
integer
sent
integer
soft_bounce_rate
number
soft_bounces
integer
unsubscribe_rate
number
unsubscribes
integer
401 Problem details (401)
403 Problem details (403)
429 Problem details (429)
Example