API reference

Domains and deliverability

Domain claims, DNS records, senders and mail deliverability checks.

Scopes for this area: domains:read, domains:write and domains:admin.

43 operations

domain

MethodRouteWhat it doesLevelCommand
GET/workspace/domainsEvery domain this project added, one status object each.readrivier domains domain list
POST/workspace/domainsAdd a domain: detect where its DNS is hosted, build the records and check for conflicts.writerivier domains domain add
GET/workspace/domains/{d}The status object of one domain: steps, per-record state and the next action.readrivier domains domain get
POST/workspace/domains/{d}/recheckCheck the domain's DNS now and activate it when everything is verified.writerivier domains domain recheck
POST/workspace/domains/{d}/previewThe plan Rivier would apply to the DNS, without changing anything.writerivier domains domain preview
POST/workspace/domains/{d}/configureApply for me, or repair: take a dump of the zone, apply the records and verify.writerivier domains domain configure
POST/workspace/domains/{d}/modeChoose apex, subdomain or delegate hosting.writerivier domains domain set mode
POST/workspace/domains/{d}/siteServe the site on www and a wildcard, or turn it off with null.writerivier domains domain set site
POST/workspace/domains/{d}/dmarcTighten the DMARC policy to quarantine or reject after clean reports.writerivier domains domain advance dmarc
POST/workspace/domains/{d}/rollbackRestore the zone from a dump taken before an apply.writerivier domains domain rollback
POST/workspace/domains/{d}/cloudflareConnect a Cloudflare token scoped to this zone. The token is sealed and never returned.writerivier domains domain connect cloudflare
GET/workspace/domains/{d}/eventsThe operations events of one domain.readrivier domains domain events
DELETE/workspace/domains/{d}Forget the domain. The DNS is left as it is.writerivier domains domain remove

sender

MethodRouteWhat it doesLevelCommand
POST/workspace/sendersSend a confirmation code to a sender address.writerivier domains sender start
POST/workspace/senders/confirmConfirm a sender address with the code it received.writerivier domains sender confirm

deliverability domain

MethodRouteWhat it doesLevelCommand
GET/deliverability/domainsEvery domain with its deliverability set-up: whether the own MTA is allowed and how many checks fail.readrivier domains deliverability domain list
POST/deliverability/domains/{d}/setupSet the DKIM selector, return-path host, IP pool and warmup plan of a domain. Changing the pool or selector switches the own MTA off until it is approved again.writerivier domains deliverability domain setup

deliverability readiness

MethodRouteWhat it doesLevelCommand
GET/deliverability/domains/{d}/readinessOne readiness report for a domain: SPF, DKIM, DMARC, MTA-STS, MX, return-path, BIMI, reverse DNS, blocklists, warmup, reputation and the own-MTA gate, with the next steps in words.readrivier domains deliverability readiness get

deliverability gate

MethodRouteWhat it doesLevelCommand
GET/deliverability/domains/{d}/gateWhether the own MTA may carry this domain's mail now, each check passed or failed in words. The relay is always allowed.readrivier domains deliverability gate get

deliverability own mta

MethodRouteWhat it doesLevelCommand
POST/deliverability/domains/{d}/own-mtaA person switches the own MTA on or off for a domain. On is refused unless every check passes.writerivier domains deliverability own mta set

deliverability fix

MethodRouteWhat it doesLevelCommand
POST/deliverability/domains/{d}/fixes/proposePropose a fix for every failing check, as the exact records or instructions. Changes nothing.writerivier domains deliverability fix propose
GET/deliverability/domains/{d}/fixesOpen and past fix proposals for a domain.readrivier domains deliverability fix list
POST/deliverability/domains/{d}/fixes/{id}/applyA person approves a DNS fix: the records are written through the Domains connector after a zone dump, then the domain is checked again.writerivier domains deliverability fix apply
POST/deliverability/domains/{d}/fixes/{id}/rejectReject a fix proposal.writerivier domains deliverability fix reject

deliverability warmup

MethodRouteWhat it doesLevelCommand
GET/deliverability/domains/{d}/warmupThe warmup plan laid onto the calendar for a domain: each day's date and volume caps.readrivier domains deliverability warmup schedule

deliverability signal

MethodRouteWhat it doesLevelCommand
POST/deliverability/domains/{d}/signalsRecord a reading from outside (Gmail Postmaster reputation, Microsoft SNDS colour, a seed test result) so it shows beside the sending numbers.writerivier domains deliverability signal add

deliverability event

MethodRouteWhat it doesLevelCommand
POST/deliverability/eventsReport a delivery event (sent, delivered, deferred, bounced, complained, opened, clicked, unsubscribed). Counted per domain, day and recipient provider; hard bounces and complaints suppress the address; repeated soft bounces suppress by the project's rule.writerivier domains deliverability event ingest

deliverability analytics

MethodRouteWhat it doesLevelCommand
GET/deliverability/analyticsSending, delivery, bounce, complaint, open and click numbers by day, recipient provider and transport, with plain flags for rates over the project's lines and for providers where opens or deferrals look wrong.readrivier domains deliverability analytics get

deliverability rules

MethodRouteWhat it doesLevelCommand
GET/deliverability/rulesThe project's lines: soft-bounce escalation, complaint and bounce rates that warn or pause, minimum sample.readrivier domains deliverability rules get
PUT/deliverability/rulesChange the project's deliverability lines (owner or manager).writerivier domains deliverability rules set

deliverability suppression

MethodRouteWhat it doesLevelCommand
POST/deliverability/suppressions/importAdd many addresses to the do-not-send list at once (bounced, complained, manual, invalid). Dry run counts without changing. Listing and lifting are under /crm/suppressions.writerivier domains deliverability suppression import

deliverability pool

MethodRouteWhat it doesLevelCommand
GET/deliverability/poolsIP pools and their IPs (the operator sees all, a project sees the pool assigned to its domains).readrivier domains deliverability pool list
POST/deliverability/poolsCreate or change an IP pool (operator).writerivier domains deliverability pool save
DELETE/deliverability/pools/{id}Remove an empty IP pool (operator).writerivier domains deliverability pool remove

deliverability ip

MethodRouteWhat it doesLevelCommand
POST/deliverability/ipsAdd or change a sending IP: pool, expected reverse DNS name, status, warmup plan and start date (operator).writerivier domains deliverability ip save
DELETE/deliverability/ips/{ip}Remove a sending IP (operator).writerivier domains deliverability ip remove

deliverability blocklist

MethodRouteWhat it doesLevelCommand
GET/deliverability/blocklistsThe blocklist zones watched, the suggested ones not yet adopted, and the last answers.readrivier domains deliverability blocklist list
POST/deliverability/blocklistsWatch a blocklist zone, or change how it counts (operator).writerivier domains deliverability blocklist save
DELETE/deliverability/blocklists/{zone}Stop watching a blocklist zone (operator).writerivier domains deliverability blocklist remove
POST/deliverability/blocklists/scanQuery every watched zone for every active sending IP now (operator). DNS queries only.writerivier domains deliverability blocklist scan

deliverability plan

MethodRouteWhat it doesLevelCommand
GET/deliverability/warmup-plansWarmup plans: the stage tables of volume per day per domain and per IP.readrivier domains deliverability plan list
POST/deliverability/warmup-plansCreate or change a warmup plan (operator). The volumes are the operator's numbers.writerivier domains deliverability plan save
DELETE/deliverability/warmup-plans/{id}Remove a warmup plan (operator).writerivier domains deliverability plan remove