Skip to content

API reference

API: Deliverability

Markdown version

MethodPathWhat it doesScope
GET/v1/deliverability/dnsFor a sending domain: SPF, DKIM and DMARC, the records to add, and what has to be done by handsequences:read
POST/v1/deliverability/dns/applyAdd the planned records you approve through Cloudflare (owners, signed in; only records the current plan calls for) (web app only)settings:write
GET/v1/deliverability/healthEach sending mailbox's health (healthy, warning, cooldown, paused, disconnected) with reasons and its daily history (with the numbers to chart), each of a person's mailboxes, and each domain's own history; ?sequence_id= for a sequence's senderssequences:read
DELETE/v1/deliverability/mailboxes/:user_id/cooldownEnd a cooldown early (an owner; or the person, for one they started) (web app only)sequences:write
POST/v1/deliverability/mailboxes/:user_id/cooldownCool a mailbox down: it sends a fraction of its daily limit (a quarter by default) for 1–14 days (your own, or any for an owner) (web app only)sequences:write
POST/v1/deliverability/placement-testsSend a seed placement test from a mailbox (yours, or any for an owner): the vendor's seed addresses report inbox, spam or missing per provider (web app only)messages:send
GET/v1/deliverability/utilizationPer mailbox and for the organization: today's limit, sent, in flight, due, backlog by sequence, days to clear, and recommendationssequences:read
POST/v1/me/mailbox-health/checkCheck your mailbox's health now (DNS, blocklists, Postmaster Tools when connected) and record it (web app only)sequences:read
GET/v1/sender-invitesSender invitations (all for owners; yours otherwise), with whether each mailbox is connectedsequences:read
POST/v1/sender-invitesInvite a teammate to connect their Gmail or Outlook as a sender (they get a link to Settings → Integrations)settings:write
POST/v1/sender-invites/:id/cancelCancel a pending sender invitationsettings:write
PUT/v1/settings/cloudflareSet (or remove) the organization's Cloudflare API token for adding SPF and DMARC records (owners, signed in; stored encrypted) (web app only)integrations:write
GET/v1/settings/deliverabilityHealth thresholds, the organization's daily limit, LinkedIn task limits and blocklist zonessequences:read
PUT/v1/settings/deliverabilityChange deliverability settings (owners, signed in; raising a LinkedIn limit above its default needs a reason) (web app only)settings:write

Examples

GET /v1/deliverability/dns

For a sending domain: SPF, DKIM and DMARC, the records to add, and what has to be done by hand

curl -s "https://api.closefinch.com/v1/deliverability/dns" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/deliverability/dns`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

GET /v1/deliverability/health

Each sending mailbox's health (healthy, warning, cooldown, paused, disconnected) with reasons and its daily history (with the numbers to chart), each of a person's mailboxes, and each domain's own history; ?sequence_id= for a sequence's senders

curl -s "https://api.closefinch.com/v1/deliverability/health" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/deliverability/health`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

GET /v1/deliverability/utilization

Per mailbox and for the organization: today's limit, sent, in flight, due, backlog by sequence, days to clear, and recommendations

curl -s "https://api.closefinch.com/v1/deliverability/utilization" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/deliverability/utilization`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

GET /v1/sender-invites

Sender invitations (all for owners; yours otherwise), with whether each mailbox is connected

curl -s "https://api.closefinch.com/v1/sender-invites" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/sender-invites`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

POST /v1/sender-invites

Invite a teammate to connect their Gmail or Outlook as a sender (they get a link to Settings → Integrations)

curl -s -X POST "https://api.closefinch.com/v1/sender-invites" \
  -H "Authorization: Bearer $RA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.closefinch.com/v1/sender-invites`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

POST /v1/sender-invites/$ID/cancel

Cancel a pending sender invitation

curl -s -X POST "https://api.closefinch.com/v1/sender-invites/$ID/cancel" \
  -H "Authorization: Bearer $RA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.closefinch.com/v1/sender-invites/${id}/cancel`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/settings/deliverability

Health thresholds, the organization's daily limit, LinkedIn task limits and blocklist zones

curl -s "https://api.closefinch.com/v1/settings/deliverability" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/settings/deliverability`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

Request and response schemas: https://www.closefinch.com/openapi.json. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.

Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.