trustyourinbox

Your DMARC data, in your tools. One key, every endpoint.

Pull domains, reports, senders and issues into your scripts, stage a DNS fix, and get a signed post when something changes. Send the key as a bearer token to https://api.trustyourinbox.com/v1.

Start with one call. The key does the rest.

Mint a key in the app under Settings, Integrations, API keys. It carries a read scope and, if you choose, a write scope, and a write only works while the person who minted it can still edit. Call it from a server; there is no browser CORS.

Base URL
https://api.trustyourinbox.com/v1
Auth
Authorization: Bearer tyi_api_…Header only, never a cookie. Revoking the key, or the role behind it, takes effect on the next call.
Plan
Pro and up
Rate limit
120 requests per key per 60 seconds Every answer carries RateLimit-Policy and RateLimit (what is left, and when the next request fits). Over the limit you get a 429 with Retry-After in seconds. Staging DNS fixes is capped separately at five per 24 hours.
Format
JSON in, JSON out, Cache-Control: no-storeA request body may be 16 KiB (96 KiB for a header block sent to POST /v1/diagnosis). A larger one answers 413 payload_too_large with the limit in maxBytes.
Idempotency
Send Idempotency-Key on a creating write A retry from the same API key with the same key replays the first answer; each API key has its own. The same key with a different body answers idempotency_key_reused. Keys are kept for 24 hours.
Windows
range in days, default 30, up to 90Reports take limit instead: default 50, up to 200.
Versioning
/v1 is the stable contract

One call, one domain. kanbello.xyz, as the API sees it.

List the domains in the workspace. Each one comes back with its verification status, whether it sends mail or is monitored only, and the DNS provider we detected.

GET /v1/domainsRequest
curl https://api.trustyourinbox.com/v1/domains \
  -H "Authorization: Bearer tyi_api_xxxxxxxxxxxxxxxxxxxxxxxx"
200 V1DomainsResponseResponse
{
  "domains": [
    {
      "kind": "domain",
      "name": "kanbello.xyz",
      "status": "verified",
      "purpose": "sending",
      "dnsProvider": "cloudflare",
      "createdAt": "2026-10-14T09:12:40.000Z"
    }
  ],
  "trackedSubdomains": [],
  "nextCursor": null
}

Errors you can switch on. One envelope, stable codes.

Every error is { "error", "message" }. Branch on error; the message is for a person. A 429 also carries retryAfterSec.

  • unauthorizedProvide a valid API key as a bearer token.
  • forbiddenThis API key does not have permission for that.
  • plan_requiredAPI access requires the Pro plan or higher.
  • not_foundNot found.
  • invalid_requestThe request was invalid.
  • rate_limitedToo many requests. Slow down and retry after the delay.
  • internalSomething went wrong on our end.
  • conflictThe request conflicts with the current state.
  • plan_limitThis action would exceed your plan's limit.
  • aup_blockThis domain does not meet our acceptable use policy.
  • idempotency_in_progressA request with this Idempotency-Key is still being processed. Retry shortly.
  • idempotency_key_reusedThis Idempotency-Key was already used for a different request.
  • workspace_requiredThis endpoint is workspace-scoped. Org-scoped keys must target a client workspace with ?workspace=<id>.
  • org_key_requiredThis endpoint is organization-scoped. Authenticate with an organization API key (minted in the MSP console).
  • workspace_archivedThis workspace is archived, so nothing can change.
  • share_scope_requiredThis key cannot add or change webhook endpoints, alert recipients or invites. Create a key with sharing outside the account allowed.
  • dns_provider_unavailableThe DNS provider could not be read just now, so nothing was changed. Retry shortly.
  • payload_too_largeThe request body is larger than this endpoint accepts.
  • key_pausedThis key was turned off when the plan changed. Turn it back on in the app to use it again.

Domains7 endpoints

GET/v1/domainsList the domains in the workspace

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • limitquery · integer · optionalHow many domains one page holds (default 100, at most 500; a larger value is read as 500).
  • cursorquery · string · optionalLeave out for the first page (by name). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200The workspace's domains V1DomainsResponse
    • domainsobject[]
      • namestring
      • status"pending" | "verified" | "paused" | "plan_paused" | "deleted"pending = waiting for its verification record; verified = monitored; paused = paused by you; plan_paused = paused because the plan's domain limit was lowered (choose which domains stay in Billing); deleted = removed and kept for a while so it can be restored.
      • purpose"sending" | "monitor_only"
      • dnsProviderstring | null
      • createdAtstring (date-time)
      • kind"domain"Always domain, so an entry here is never mistaken for a tracked subdomain.
      • review"pending" · optionalPresent while our team reviews the domain before it can be verified.
    • trackedSubdomainsV1TrackedSubdomain[]The subdomains tracked under a domain on this page, by name. A tracked subdomain is followed as a sender of its own under its parent, read from the parent's reports; it is not a domain, so it is listed here rather than in domains, never counts toward limit and never moves the cursor. The next page lists the ones under its own domains.
      • kind"tracked_subdomain"Always tracked_subdomain.
      • namestringThe tracked subdomain, e.g. notify.example.com.
      • parentstringThe domain it is tracked under, whose reports carry its mail. Receivers apply this domain's DMARC record to it unless it publishes its own; when this domain is itself a subdomain, they read the organizational domain's record.
      • createdAtstring (date-time)When it was tracked.
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domainsAdd a domain to the workspace

Write key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • namestringThe domain to add, e.g. acme.com
  • purpose"sending" | "monitor_only" · optionalDefaults to sending.

Responses

  • 201Domain added (pending verification); body carries the DNS record to publish V1AddDomainResponse
    • domainstring
    • statusstring
    • purpose"sending" | "monitor_only"
    • verificationV1VerificationRecordThe separate TXT record that verifies the domain when its DMARC record can't be changed.
      • recordTypestring
      • recordNamestring
      • recordValuestring
      • zonestring | nullThe DNS zone the record is typed into: the domain itself, or the parent domain whose zone holds a subdomain's records. Null when it is not known yet.
      • nameInZonestring | nullWhat to type as the name when the DNS provider adds the zone's name for you, for example _dmarc.sub for sub.example.com in the example.com zone. Never just _dmarc in a parent's zone, which would put a second DMARC record on the parent. Null when the zone is not known: the full name in recordName is always right.
    • dmarcV1DmarcSetupThe one DNS record that verifies the domain and starts its reports: a DMARC record that names the domain's own report address. An existing record keeps everything it says and gains the address.
      • recordType"TXT"
      • recordNamestring
      • recordValuestring | nullThe whole value to publish. Null when no single value is safe to suggest: the domain has two DMARC records, one that cannot be read, or DNS did not answer.
      • reportAddressstringThe address the record must name in its rua tag.
      • publishedboolean | nullWhether public DNS already names it. Null when DNS did not answer.
      • zonestring | nullThe DNS zone the record is typed into: the domain itself, or the parent domain whose zone holds a subdomain's records. Null when it is not known yet.
      • nameInZonestring | nullWhat to type as the name when the DNS provider adds the zone's name for you, for example _dmarc.sub for sub.example.com in the example.com zone. Never just _dmarc in a parent's zone, which would put a second DMARC record on the parent. Null when the zone is not known: the full name in recordName is always right.
      • cnameTargetstring | nullSet when _dmarc of the domain is a CNAME, as many DMARC vendors set up: the record lives at this name, in DNS someone else controls. Either ask them to add reportAddress to its rua tag, or delete the CNAME and publish recordValue, which keeps what it says today. Null when there is no CNAME.
      • notestring | nullA sentence to show the person before they publish: the CNAME above, or a record that already names two or more report addresses, where some receivers send to the first two only. Null when there is nothing to say.
    • dnsProviderstring | null
    • review"pending" · optionalPresent when our team reviews this domain. Either its acceptable use check could not run (your organization used its daily checks, or the check is paused) and it works as usual meanwhile, or the check flagged it and it can't be verified until the review ends.
    • trackedSubdomainV1AddTrackedNote · optionalPresent when this workspace tracks the added name as a subdomain of another domain. It stays tracked until the new domain verifies; then the tracked subdomain is removed and the new domain is watched on its own, while the mail reported so far stays with its parent.
      • parentstringThe domain it is tracked under.
      • notestringWhat happens at the verify, in one sentence.
  • 400invalid_request (missing or invalid name)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 409conflict (duplicate) or plan_limit; idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422aup_block (domain fails the acceptable use policy); idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domains/{domain}/tracked-subdomains/{name}Track a subdomain

Write key · Bearer

Parameters

  • domainpath · string · requiredThe domain in the workspace it is tracked under (its parent). A tracked subdomain here answers 404 with reason tracked_subdomain.
  • namepath · string · requiredThe subdomain, e.g. notify.example.com.
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 201The subdomain is tracked V1TrackSubdomainResponse
    • trackedSubdomainV1TrackedSubdomainOne tracked subdomain.
      • kind"tracked_subdomain"Always tracked_subdomain.
      • namestringThe tracked subdomain, e.g. notify.example.com.
      • parentstringThe domain it is tracked under, whose reports carry its mail. Receivers apply this domain's DMARC record to it unless it publishes its own; when this domain is itself a subdomain, they read the organizational domain's record.
      • createdAtstring (date-time)When it was tracked.
  • 400invalid_request with reason invalid_name (not a domain name); workspace_required (an organization key called without ?workspace=) V1TrackRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404The domain is not in the caller's workspace (reason tracked_subdomain when it is a tracked subdomain); or an organization key named a workspace outside its organization
  • 409conflict with reason already_tracked, is_a_domain, cap_reached or parent_not_verified; idempotency_in_progress (a request with this Idempotency-Key is still running) V1TrackRefusal
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422invalid_request with reason not_a_subdomain, not_seen or not_in_dns; idempotency_key_reused (this Idempotency-Key was used for a different request) V1TrackRefusal
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
DELETE/v1/domains/{domain}/tracked-subdomains/{name}Stop tracking a subdomain

Write key · Bearer

Parameters

  • domainpath · string · requiredThe domain in the workspace it is tracked under (its parent). A tracked subdomain here answers 404 with reason tracked_subdomain.
  • namepath · string · requiredThe subdomain, e.g. notify.example.com.
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200The subdomain is no longer tracked V1UntrackSubdomainResponse
    • namestringThe subdomain no longer tracked.
    • parentstringThe domain it was tracked under. Its mail stays in this domain's reports and numbers.
    • untrackedtrue
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404The domain is not in the caller's workspace, or the subdomain is not tracked under it; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/verificationWhere a domain's verification stands

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200The domain's verification V1VerificationResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • status"pending" | "verified" | "paused" | "plan_paused" | "deleted"pending = waiting for its verification record; verified = monitored; paused = paused by you; plan_paused = paused because the plan's domain limit was lowered (choose which domains stay in Billing); deleted = removed and kept for a while so it can be restored.
    • verifiedAtstring (date-time) | null
    • review"pending" | nullpending while our team reviews the domain before it can be verified.
    • proof"dmarc" | "dns" | nullThe record in public DNS that proves control right now: dmarc (its DMARC record names its report address), dns (its TXT record), or null. Always null once the domain is verified.
    • dmarcV1DmarcSetup | nullThe one DNS record that verifies the domain and starts its reports: a DMARC record that names the domain's own report address. An existing record keeps everything it says and gains the address.
      • recordType"TXT"
      • recordNamestring
      • recordValuestring | nullThe whole value to publish. Null when no single value is safe to suggest: the domain has two DMARC records, one that cannot be read, or DNS did not answer.
      • reportAddressstringThe address the record must name in its rua tag.
      • publishedboolean | nullWhether public DNS already names it. Null when DNS did not answer.
      • zonestring | nullThe DNS zone the record is typed into: the domain itself, or the parent domain whose zone holds a subdomain's records. Null when it is not known yet.
      • nameInZonestring | nullWhat to type as the name when the DNS provider adds the zone's name for you, for example _dmarc.sub for sub.example.com in the example.com zone. Never just _dmarc in a parent's zone, which would put a second DMARC record on the parent. Null when the zone is not known: the full name in recordName is always right.
      • cnameTargetstring | nullSet when _dmarc of the domain is a CNAME, as many DMARC vendors set up: the record lives at this name, in DNS someone else controls. Either ask them to add reportAddress to its rua tag, or delete the CNAME and publish recordValue, which keeps what it says today. Null when there is no CNAME.
      • notestring | nullA sentence to show the person before they publish: the CNAME above, or a record that already names two or more report addresses, where some receivers send to the first two only. Null when there is nothing to say.
    • verificationV1VerificationRecord | nullThe separate TXT record that verifies the domain when its DMARC record can't be changed.
      • recordTypestring
      • recordNamestring
      • recordValuestring
      • zonestring | nullThe DNS zone the record is typed into: the domain itself, or the parent domain whose zone holds a subdomain's records. Null when it is not known yet.
      • nameInZonestring | nullWhat to type as the name when the DNS provider adds the zone's name for you, for example _dmarc.sub for sub.example.com in the example.com zone. Never just _dmarc in a parent's zone, which would put a second DMARC record on the parent. Null when the zone is not known: the full name in recordName is always right.
    • wrongNameV1WrongName | nullThe domain's own record, found one name over: the DNS provider added the zone's name (the domain, or the parent domain whose zone holds a subdomain's records) to a name that already held it. It is where to look, and never proof of control.
      • messagestringWhat was found, where it belongs and what the DNS provider's name box should hold, in plain words.
      • recordsobject[]
      • guideUrlstring | nullHow to add a record at the domain's own DNS provider, when there is a guide for it.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domains/{domain}/verifyCheck a pending domain's DNS now

Write key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Verified, or why not yet V1VerifyResponse
    • domainstring
    • verifiedboolean
    • reason"record_not_found" | "dns_unavailable" | "in_review" | "being_checked" · optionalPresent when verified is false. record_not_found (public DNS does not show the record yet), dns_unavailable (DNS did not answer), in_review (our team is reviewing the domain), being_checked (the domain was just added; try again in a few seconds).
    • dmarcV1DmarcSetup · optionalThe one DNS record that verifies the domain and starts its reports: a DMARC record that names the domain's own report address. An existing record keeps everything it says and gains the address.
      • recordType"TXT"
      • recordNamestring
      • recordValuestring | nullThe whole value to publish. Null when no single value is safe to suggest: the domain has two DMARC records, one that cannot be read, or DNS did not answer.
      • reportAddressstringThe address the record must name in its rua tag.
      • publishedboolean | nullWhether public DNS already names it. Null when DNS did not answer.
      • zonestring | nullThe DNS zone the record is typed into: the domain itself, or the parent domain whose zone holds a subdomain's records. Null when it is not known yet.
      • nameInZonestring | nullWhat to type as the name when the DNS provider adds the zone's name for you, for example _dmarc.sub for sub.example.com in the example.com zone. Never just _dmarc in a parent's zone, which would put a second DMARC record on the parent. Null when the zone is not known: the full name in recordName is always right.
      • cnameTargetstring | nullSet when _dmarc of the domain is a CNAME, as many DMARC vendors set up: the record lives at this name, in DNS someone else controls. Either ask them to add reportAddress to its rua tag, or delete the CNAME and publish recordValue, which keeps what it says today. Null when there is no CNAME.
      • notestring | nullA sentence to show the person before they publish: the CNAME above, or a record that already names two or more report addresses, where some receivers send to the first two only. Null when there is nothing to say.
    • wrongNameV1WrongName · optionalThe domain's own record, found one name over: the DNS provider added the zone's name (the domain, or the parent domain whose zone holds a subdomain's records) to a name that already held it. It is where to look, and never proof of control.
      • messagestringWhat was found, where it belongs and what the DNS provider's name box should hold, in plain words.
      • recordsobject[]
      • guideUrlstring | nullHow to add a record at the domain's own DNS provider, when there is a guide for it.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (a read-only key, or a suspended account)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization; a tracked subdomain, which this endpoint does not answer for, is a 404 whose reason names it as one
  • 409conflict (the domain is paused or removed, or its workspace is archived)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domains/{domain}/recheckRe-detect the domain's DNS provider now

Write key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Re-checked (body reports the detected provider + whether it changed) V1RecheckResponse
    • domainstring
    • detectedboolean
    • providerstring
    • providerNamestring · optionalPresent only when detected is true.
    • changedboolean
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization; a tracked subdomain, which this endpoint does not answer for, is a 404 whose reason names it as one
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Authentication & deliverability7 endpoints

GET/v1/domains/{domain}/complianceThe four mandate compliance tiles for one domain

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Compliance tiles V1ComplianceResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • complianceobject
      • googleV1ComplianceTileOne mandate tile (Google/Yahoo, Microsoft, BIMI, or TLS) for a domain.
      • microsoftV1ComplianceTileOne mandate tile (Google/Yahoo, Microsoft, BIMI, or TLS) for a domain.
      • bimiV1ComplianceTileOne mandate tile (Google/Yahoo, Microsoft, BIMI, or TLS) for a domain.
      • tlsV1ComplianceTileOne mandate tile (Google/Yahoo, Microsoft, BIMI, or TLS) for a domain.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/enforcement-simulationEnforcement Preview: what a stricter DMARC policy would have done

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Enforcement simulation V1EnforcementSimulationResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • windowDaysinteger
    • purpose"sending" | "monitor_only"
    • currentobject
      • hasRecordboolean
      • policystring | null
      • spstring | null
      • pctinteger | null
      • testModeboolean
    • fullyEnforcedboolean
    • alignmentPctinteger | nullAdjusted for unidentified sources, as the dashboard shows it: on a domain at enforcement, unidentified mail that receivers quarantined or rejected is left out. Never raw aligned over total.
    • totalVolumeinteger
    • nextStepobject
      • stepstring
      • reasonstring
      • fixTypestring | null
      • daysRemaininginteger | null
    • scenariosV1EnforcementScenario[]One counterfactual per ladder scenario (the recommended next step first, then the p=reject end state). Empty at p=reject.
      • kind"policy_step" | "bump_pct" | "disable_test_mode"
      • targetPolicy"quarantine" | "reject"
      • effectiveSubdomainPolicy"none" | "quarantine" | "reject"
      • verdict"clear_to_flip" | "fix_senders_first" | "investigate" | "wait" | "already_enforced" | "no_data"
      • summarystring
      • totalsobject
      • newlyAffectedBySegmentV1EnforcementSegments
      • alreadyEnforcedBySegmentV1EnforcementSegments
      • forwardingWithOverrideinteger
      • recipientRelayAffectedintegerOf newlyAffectedBySegment forwarding, the messages a recipient's own email security changed on the way in. This is not a failure of the domain's setup; a stricter policy would turn their quarantines into rejects at those recipients.
      • senderRiskobject[]
      • senderRiskDroppedinteger
      • subdomainsobject[]
      • subdomainsDroppedinteger
      • overridesobject[]
      • dailySeriesobject[]Messages the target policy would newly ask receivers to act on, per day, in the same three groups as newlyAffectedBySegment.
    • watchobject | nullThe domain's ACTIVE post-flip watch (14 days after a detected policy strengthening), or null. The watch reads receiver reports and alerts on regression with a one-click rollback; it never writes DNS on its own.
      • toPolicystring
      • changeDetectedAtstring
      • watchUntilstring
      • regressionDetectedAtstring | null
      • regressionSenderNamesstring[]
    • sourcesobject | nullThe sources whose mail failed DMARC since the policy last changed, with the answer given for each, or null when the domain is not judged (a defensive domain, or no reports yet). A stricter step opens only when every failing source has an answer, a source answered as yours passes, and the reports are complete. Answers are given in the app at answerUrl; this API reads them.
      • refusal"incomplete" | "no_traffic" | "known_failures" | "unknown_failures" | "mine_failing" | "needs_answers" | "needs_confirm" | nullWhat still holds the next step, or null when it may open.
      • failingintegerMessages that failed DMARC since the policy last changed.
      • observedDaysintegerReported days since the policy last changed.
      • smallFloorbooleanTrue when the failures are small enough for one confirmation: at most 2% of at least 100 messages, and no source failing 10 times or more.
      • smallConfirmedAtstring (date-time) | nullWhen the small failures were confirmed, or null.
      • answerUrlstring (uri)Where someone with edit rights answers for each source.
      • itemsobject[]
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/sendersSender breakdown, with alignment adjusted for unidentified sources

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • rangequery · integer · optionalWindow in days (clamped to 90, default 30)

Responses

  • 200Sender breakdown V1SendersResponse
    • domainstring
    • rangeDaysinteger
    • totalVolumeinteger
    • alignmentPctinteger | nullAdjusted for unidentified sources, as the dashboard shows it: on a domain at enforcement, unidentified mail that receivers quarantined or rejected is left out. Never raw aligned over total.
    • blockedSpoofinteger
    • knownVolumeinteger · optionalPresent only when totalVolume > 0.
    • unknownVolumeinteger · optionalPresent only when totalVolume > 0.
    • distinctSendersinteger · optionalPresent only when totalVolume > 0.
    • sendersV1SenderRow[]
      • ipstring
      • networkstring | nullThe organization behind the IP's network (its ASN).
      • volumeinteger
      • alignedPctinteger
      • knownboolean
    • recipientRelaysV1RecipientRelayGroup[]Mail the recipient's own email security changed on the way in, one entry per recipient domain and filter, worst first. None of it is in the numbers above.
      • recipientDomainstringThe recipient's organizational domain, for example cedarmill.example.
      • recipientHostsstring[]The recipient hosts as the receiver reported them, when they differ from recipientDomain.
      • changedBystringThe recipient's email security by name, for example INKY, Check Point, Proofpoint, Mimecast, Barracuda, Microsoft 365 or Google Workspace.
      • changedById"inky" | "check_point" | "proofpoint" | "mimecast" | "barracuda" | "microsoft_365" | "google_workspace"
      • mailboxstring | nullThe recipient's mailbox, named from the report's sender, for example Microsoft 365.
      • messagesinteger
      • failedintegerMessages that failed DMARC after the change.
      • quarantinedinteger
      • rejectedinteger
      • outcome"quarantined" | "rejected" | "delivered"The worst the receiver did with any of the messages.
      • outcomeLabelstring
      • lastSeenstring (date-time)
      • sourceIpstringOne address the filter sent from.
      • ptrstring | nullThe confirmed reverse-DNS name of sourceIp.
      • whatHappenedstringOne plain sentence saying what the filter did and what the receiver did.
      • noteForTheirItstring | nullA short note to send the recipient's IT team, when the mail failed; null otherwise.
      • howWeKnowstring[]
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization; a tracked subdomain, which this endpoint does not answer for, is a 404 whose reason names it as one
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/protocolRecorded authentication status and evidence for a domain

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Authentication records V1ProtocolResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • dmarcobject | null
      • policystring
      • pctinteger | null
      • testMode"y" | "n" | nullDMARCbis test flag. With t=y, reject requests quarantine and quarantine requests no enforcement; legacy receivers may ignore the flag.
      • npstring | nullDMARCbis non-existent-subdomain policy.
      • reportsToUsboolean | null
      • multiRecordboolean | null
    • spfobject | null
      • lookupCountinteger | nullLast recorded DNS lookup count, not proof that recursive SPF evaluation completed.
      • allQualifierstring | nullThe qualifier on the final all mechanism (~, -, +, ?).
      • multiRecordboolean | null
    • dkimSelectorsintegerCount of found selector records, including records without a usable key measurement.
    • dkimMinKeyBitsinteger | nullSmallest valid measured retained key size, or null when none can be measured. Numeric lengths across algorithms do not rank cryptographic strength.
    • mtaStsstring | nullUsable active MTA-STS mode (testing or enforce). Null can mean inactive, unavailable, invalid or absent; consult observations.
    • dkimMeasuredSelectorsinteger · optionalFound selector records with a valid measured key, excluding revoked and unknown keys.
    • observationsobject · optional
      • dmarcobject
      • spfobject
      • mtaStsobject
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/dkim-rotationsDKIM key rotation state for a domain

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200DKIM rotation state V1DkimRotationsResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • activeobject[]Non-terminal rotations, oldest first (the wizard's render order).
      • idstring (uuid)
      • oldSelectorstring
      • newSelectorstring
      • vendorstring | nullVendor label of the old selector at rotation start; null = long-tail self-hosted.
      • custody"self_hosted" | "esp"
      • state"planned" | "new_key_published" | "new_key_signing" | "old_key_retired"
      • createdAtstring (date-time)
      • newKeyPublishedAtstring (date-time) | null
      • newKeySigningAtstring (date-time) | null
      • oldKeyRetiredAtstring (date-time) | null
      • ruaEvidenceobject | nullRUA-observed signing evidence for the new selector; populated only in state new_key_published (reports lag 1-2 days).
    • lastCompletedobject | null
      • oldSelectorstring
      • newSelectorstring
      • completedAtstring (date-time) | null
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/subdomainsSubdomains sending as a domain, bucketed

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • rangequery · integer · optionalWindow in whole UTC days, any value from 1 to 90 (larger values are clamped to 90; default 30). The dashboard offers 7, 30 and 90; any other value here counts the same day-snapped way.

Responses

  • 200Subdomain breakdown V1SubdomainsResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • rangeDaysinteger
    • subdomainCountintegerDistinct subdomains in the returned rows; the full observed count is coverage.matchedSubdomainCount when supplied.
    • truncatedboolean · optionalWhen supplied, true if more matching reported subdomains exist than the returned rows.
    • coverageobject · optionalWhen supplied, distinguishes the full observed population in the selected period from the highest-volume returned subset. Volumes are reported message counts; bucket counts describe returned rows.
      • matchedSubdomainCountinteger · optionalAll matching reported subdomains before the row limit, when supplied.
      • returnedSubdomainCountinteger · optionalNumber of returned subdomains, when supplied.
      • matchedVolumeinteger · optionalReported message count across all matching subdomains, when supplied.
      • returnedVolumeinteger · optionalReported message count across returned subdomains, when supplied.
      • rowLimitinteger · optionalMaximum number of returned subdomains, when supplied.
    • knownCountinteger · optionalPresent only when subdomainCount > 0.
    • worthALookCountinteger · optionalPresent only when subdomainCount > 0.
    • nonexistentCountinteger · optionalPresent only when subdomainCount > 0.
    • unrecognizedCountinteger · optionalPresent only when subdomainCount > 0.
    • totalVolumeinteger · optionalPresent only when subdomainCount > 0.
    • nxdomainPolicystring | null · optionalWhat a non-existent subdomain resolves to (np ?? sp ?? p) in the DMARC record receivers read for names below this domain, which is subdomainsFollow's record when that is set. Present only when subdomainCount > 0.
    • subdomainsFollowstring | null · optionalThe name whose DMARC record receivers read for names below this domain, when that is not this domain's own (a domain that is itself a subdomain follows its organizational domain's record, so its own sp= and np= are not read). Null when they follow this domain's own record. Present only when subdomainCount > 0.
    • extendedSubdomainCountintegerDistinct subdomains over a wider 90-day lookback (subdomain abuse is bursty).
    • subdomainsV1SubdomainRow[]
      • subdomainstring
      • labelstringThe relative label (e.g. "marketing" for marketing.acme.com).
      • status"Known" | "Review" | "Not in DNS"
      • bucket"known" | "worth_a_look" | "nonexistent"
      • volumeinteger
      • alignmentPctinteger | nullAdjusted for unidentified sources, as the dashboard shows it. Null when none of the subdomain's own mail can be measured.
      • spoofVolumeinteger
      • blockedSpoofinteger
      • distinctSendersinteger
      • lastSeenstring (date-time) | null
      • inDnsboolean | nulltrue = the subdomain resolves; false = NXDOMAIN; null = inconclusive.
      • verdictstring
      • whatItMeansstring
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/spoof-activityUnidentified failures acted on and top sources over a window

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • rangequery · integer · optionalWindow in days (clamped to 90, default 30)

Responses

  • 200Spoof activity V1SpoofActivityResponse
    • domainstring
    • rangeDaysinteger
    • blockedSpoofinteger
    • blockedSpoofPriorinteger
    • topSourcesV1SpoofSource[]
      • ipstring
      • attemptsinteger
      • networkstring | null
      • countrystring | null
      • dispositionstringThe outcome from this source's largest individual report row, retained for compatibility. It is not the outcome of most messages after aggregation; use quarantined and rejected for outcome totals.
      • quarantinedintegerMessages from this source receivers reported quarantining in the selected window.
      • rejectedintegerMessages from this source receivers reported rejecting in the selected window.
    • dailyobject[]
      • daystring (date)UTC report day, oldest first.
      • blockedintegerMessages receivers reported quarantining or rejecting from unidentified, unaligned sources.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization; a tracked subdomain, which this endpoint does not answer for, is a 404 whose reason names it as one
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Reports2 endpoints

GET/v1/domains/{domain}/reportsRecent aggregate (RUA) reports for one domain

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • limitquery · integer · optionalHow many reports one page holds (default 50, at most 200; a larger value is read as 200).
  • cursorquery · string · optionalLeave out for the first page (newest first). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200Recent reports V1DomainReportsResponse
    • domainstring
    • reportsV1ReportRow[]
      • idstring (uuid)
      • reporterstringThe receiver's name, derived from the authenticated sender of the report (never from the report body).
      • reporterDomainstring | nullThe authenticated reporter domain; null on reports ingested before sender authentication existed.
      • reportingOrgstringThe organization name the report body claims for itself. A claim, not an identity.
      • rangeStartstring (date-time)
      • rangeEndstring (date-time)
      • volumeinteger
      • passinginteger
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/reports/{id}Drill into one aggregate (RUA) report

Read key · Bearer

Parameters

  • idpath · string · requiredaggregate-report id (from .../reports; workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Report detail V1ReportDetailResponse
    • reportIdstring (uuid)
    • externalReportIdstring
    • reporterstringThe receiver's name, derived from the authenticated sender of the report (never from the report body).
    • reporterDomainstring | nullThe authenticated reporter domain; null on reports ingested before sender authentication existed.
    • reportingOrgstringThe organization name the report body claims for itself. A claim, not an identity.
    • domainstring
    • rangeStartstring (date-time)
    • rangeEndstring (date-time)
    • outcomeV1ReportOutcome
      • alignedinteger
      • dkimOnlyinteger
      • spfOnlyinteger
      • failedinteger
      • totalinteger
      • alignmentPctinteger | nullRaw aligned over total, the report's own composition as received.
      • spoofVolumeinteger
      • adjustedPctinteger | nullAlignment after exclusions; null when no denominator remains. Exclusion does not establish authorization.
      • recordCountintegerEvery record in the report, including the ones counted in relayVolume.
      • relayVolumeintegerMessages in the report that the recipient's own email security changed on the way in. They are not in any other number here and are listed in recipientRelays.
    • failureGroupsV1FailureGroup[]
      • senderstring
      • vendorNamestring | null
      • ipCountinteger
      • failedVolumeinteger
      • class"forwarding" | "esp_misconfig" | "spoof_likely" | "unknown"
      • diagnosisstring
    • recipientRelaysV1ReportRecipientRelayGroup[]Mail in this report that the recipient's own email security changed, one entry per recipient domain and filter, worst first.
      • recipientDomainstring
      • changedBystring
      • changedById"inky" | "check_point" | "proofpoint" | "mimecast" | "barracuda" | "microsoft_365" | "google_workspace" | null
      • messagesinteger
      • failedinteger
      • outcome"quarantined" | "rejected" | "delivered"
      • outcomeLabelstring
      • sourceIpsstring[]
      • whatHappenedstring
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Report not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Issues4 endpoints

GET/v1/issuesOpen issues across the workspace

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Open issues V1IssuesResponse
    • issuesV1Issue[]
      • keystring
      • typestringThe anomaly type id (the issue's stable machine key).
      • severity"opportunity" | "warn" | "crit"
      • headlinestring
      • whystring
      • domainstring
      • firstSeenAtstring (date-time)
      • impactstring | null
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/domains/{domain}/issuesOpen issues for one domain

Read key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Open issues for the domain V1DomainIssuesResponse
    • domainstring
    • issuesV1Issue[]
      • keystring
      • typestringThe anomaly type id (the issue's stable machine key).
      • severity"opportunity" | "warn" | "crit"
      • headlinestring
      • whystring
      • domainstring
      • firstSeenAtstring (date-time)
      • impactstring | null
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domains/{domain}/issues/{type}/dismissDismiss or snooze an open issue

Write key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • typepath · string · requiredthe issue type to hide, e.g. `tls_rpt_missing`
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Request body (optional)

  • permanentboolean · optionaltrue = dismiss indefinitely; false (default) = snooze 7 days. Any other value answers 400 invalid_permanent.

Responses

  • 200Issue dismissed or snoozed V1DismissIssueResponse
    • domainstring
    • typestring
    • mode"dismiss" | "snooze"
    • dismissedtrue
    • restorablebooleanFalse only when `permanent` dismissed `subdomain_track_suggested`, which sets each suggested name aside for good, so the restore endpoint cannot bring it back.
  • 400invalid_request (unknown issue type, or reason invalid_permanent when permanent is anything but true or false)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domains/{domain}/issues/{type}/restoreRestore a dismissed or snoozed issue

Write key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • typepath · string · requiredthe issue (anomaly) type to restore
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Issue restored V1RestoreIssueResponse
    • domainstring
    • typestring
    • restoredtrue
  • 400invalid_request (unknown issue type)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization
  • 409conflict, reason `set_aside_for_good` (a dismissed `subdomain_track_suggested`, whose subdomains were set aside for good)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

DNS fixes4 endpoints

POST/v1/domains/{domain}/dns-fixesStage a one-click DNS fix for an issue

Write key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • typestringA one-click-fixable issue type, e.g. `dmarc_np_missing`.
  • previewboolean · optionalTrue to see the exact change without staging it: the same checks run, and the answer is the record now, the record it would write and any sentence to show first. Must be a JSON boolean: any other value (the string "true", 1, null) answers 400 invalid_preview and stages nothing.
  • confirmstring · optionalThe domain's name, typed by a person, for a fix that asks for it. Today only the fix for an MTA-STS policy file with no DNS record does, when that policy is in enforce mode. Without it the answer is a 409 whose message says to confirm. Every other fix ignores it.

Responses

  • 200Nothing to stage (the fix is already in place), or the preview of the change
  • 201Fix staged; body carries the change id, record, and apply time V1StageFixResponse
    • domainstring
    • typestring
    • stagedtrue
    • changeIdstring (uuid)
    • recordNamestring
    • oldValuestring | null · optionalThe record before the change; null when the change creates it. For the duplicate DMARC fix it is the text both identical copies hold.
    • newValuestring | nullThe record after the change; null when the change removes it. For a revoked DKIM key the selector is left with no record. For the duplicate DMARC fix newValue is null too, but only one of the two identical copies goes: the other stays, holding oldValue.
    • applyAtstring (date-time)
    • warningstring · optional
    • explanationstring · optionalA sentence to show whoever approves the change, when it needs one. For example, an SPF record ending in +all is closed with ~all rather than -all while a sender in your reports still passes only because of +all, and this names those senders.
    • or
    • domainstring
    • typestring
    • stagedfalse
    • previewtrue
    • recordNamestring
    • oldValuestring | nullThe record now; null when the change would create it. For the duplicate DMARC fix it is the text both identical copies hold.
    • newValuestring | nullThe record the change would write; null when it would remove the record. For the duplicate DMARC fix newValue is null too, but only one of the two identical copies goes: the other stays, holding oldValue.
    • explanationstring · optionalA sentence to show whoever approves the change, when it needs one.
    • or
    • domainstring
    • typestring
    • stagedfalse
    • alreadyAppliedtrue
  • 400invalid_request (not a one-click-fixable type, or invalid input; reason invalid_preview when preview is anything but true or false, such as the string "true" or 1, and nothing is staged)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404Domain not found in the caller's workspace; or an organization key named a workspace outside its organization; a tracked subdomain, which this endpoint does not answer for, is a 404 whose reason names it as one
  • 409conflict: the change can't be staged as things stand (reason says why, message says it in a sentence to show a person); or idempotency_in_progress (a request with this Idempotency-Key is still running). V1StageRefusal
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key, or the staging cap of 5 changes per 24 hours, which clears 24 hours after the window's first change; a canceled change, or one that failed before it wrote anything, gives its slot back; for the staging cap, message says so in a sentence to show a person); Retry-After says when to retry
  • 503dns_provider_unavailable (the DNS provider did not answer just now; nothing was staged, retry shortly)
GET/v1/changesStaged, recently applied and recently failed DNS changes for the workspace

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • undoablequery · "true" | "false" · optionaltrue to also list older applied changes that can still be undone. An undo has no deadline, so a change applied weeks ago can still be undone while its record holds the value we wrote.
  • limitquery · integer · optionalHow many changes one page holds (default 100, at most 200; a larger value is read as 200).
  • cursorquery · string · optionalLeave out for the first page (newest staged first). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200Staged and recently applied changes V1ChangesResponse
    • changesV1Change[]
      • idstring (uuid)
      • domainstring | null
      • fixTypestringThe fix this change makes. An undo carries the type of the fix it undoes; read undoOf to tell them apart.
      • undoOfstring (uuid) | nullThe id of the change this one undoes, when it is an undo; null for a fix.
      • recordNamestring
      • recordTypestring
      • statusstringstaged, applied, failed, canceled, etc.
      • stagedAtstring (date-time)
      • applyAtstring (date-time) | null
      • undoablebooleanTrue for an applied change that is not itself an undo and that no later change to the same record has replaced (one that was itself undone does not count). An undo can be asked for at any time; the undo reads the live record first and is refused when the record is no longer as the change left it. Undoing a change that created a record removes it; undoing one that removed a record puts it back. A change that is itself an undo is never undoable (run the fix again instead), and neither is a change that found DNS already as it would leave it (a record someone had already published, or for a removal a record already gone), since nothing was written. The app offers Undo by the same rule.
      • undoUntilnullAlways null. An undo has no deadline; read undoable instead.
      • failureobject | nullWhy a failed change did not go through, in the sentence the app shows. Null unless status is failed.
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
DELETE/v1/changes/{id}Cancel a staged DNS change

Write key · Bearer

Parameters

  • idpath · string · requiredthe staged change id (from GET /v1/changes)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Change canceled V1CancelChangeResponse
    • canceledtrue
    • changeV1Change | nullA staged or recently-applied one-click DNS change. The email cancel secret is never exposed.
      • idstring (uuid)
      • domainstring | null
      • fixTypestringThe fix this change makes. An undo carries the type of the fix it undoes; read undoOf to tell them apart.
      • undoOfstring (uuid) | nullThe id of the change this one undoes, when it is an undo; null for a fix.
      • recordNamestring
      • recordTypestring
      • statusstringstaged, applied, failed, canceled, etc.
      • stagedAtstring (date-time)
      • applyAtstring (date-time) | null
      • undoablebooleanTrue for an applied change that is not itself an undo and that no later change to the same record has replaced (one that was itself undone does not count). An undo can be asked for at any time; the undo reads the live record first and is refused when the record is no longer as the change left it. Undoing a change that created a record removes it; undoing one that removed a record puts it back. A change that is itself an undo is never undoable (run the fix again instead), and neither is a change that found DNS already as it would leave it (a record someone had already published, or for a removal a record already gone), since nothing was written. The app offers Undo by the same rule.
      • undoUntilnullAlways null. An undo has no deadline; read undoable instead.
      • failureobject | nullWhy a failed change did not go through, in the sentence the app shows. Null unless status is failed.
  • 400invalid_request (malformed id)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404No staged change with that id in the caller's workspace; or an organization key named a workspace outside its organization
  • 409conflict, with the reason the cancel was refused; nothing was changed V1CancelRefusal
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/changes/{id}/undoUndo an applied DNS change

Write key · Bearer

Parameters

  • idpath · string (uuid) · requiredthe applied change id (from GET /v1/changes)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body (optional)

  • previewboolean · optionaltrue answers what the undo would write and stages nothing. Defaults to false.

Responses

  • 200The preview (preview true); nothing was staged V1UndoChangePreviewResponse
    • changeIdstring (uuid)
    • stagedfalse
    • previewobject
      • recordNamestring
      • recordTypestring
      • oldValuestring | nullWhat the record holds now; null when there is no record. For the undo of the duplicate DMARC fix it is null while the one copy that stayed is still there: newValue is that same text, and the undo puts the second copy back beside it.
      • newValuestring | nullWhat the undo would write; null when the undo removes the record (the change created it).
  • 201The undo is staged V1UndoChangeResponse
    • changeIdstring (uuid)The applied change being undone.
    • stagedtrue
    • undoChangeIdstring (uuid)The staged undo; cancel it with DELETE /v1/changes/{undoChangeId} before applyAt.
    • recordNamestring
    • oldValuestring | nullWhat the record holds now; null when there is no record. For the undo of the duplicate DMARC fix it is null while the one copy that stayed is still there: newValue is that same text, and the undo puts the second copy back beside it.
    • newValuestring | nullWhat the undo writes; null when the undo removes the record (the change created it).
    • applyAtstring (date-time)
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request (a body that is not JSON, or reason invalid_preview when preview is anything but true or false; nothing is staged)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account), an archived client workspace, or plan_required
  • 404No change with that id in the caller's workspace; or an organization key named a workspace outside its organization
  • 409conflict, with the reason the undo was refused; nothing was staged; idempotency_in_progress (a request with this Idempotency-Key is still running) V1UndoRefusal
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (the Idempotency-Key was sent before with a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
  • 503dns_provider_unavailable (the DNS provider did not answer, or the record could not be read to check it; nothing was changed, retry shortly)

Delivery Diagnosis3 endpoints

GET/v1/diagnosisList Delivery Diagnosis cases

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • limitquery · integer · optionalHow many cases one page holds (default 20, at most 50; a larger value is read as 50).
  • cursorquery · string · optionalLeave out for the first page (newest first). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200Recent diagnosis cases V1DiagnosisListResponse
    • casesV1DiagnosisCaseSummary[]
      • idstring
      • createdAtstring
      • status"received" | "analyzing" | "diagnosed" | "needs_headers" | "refused" | "failed"
      • source"email" | "paste"
      • subjectstring | null
      • domainstring | null
      • causestring | null
      • causeLabelstring | null
      • confidencestring | null
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/diagnosisDiagnose pasted message headers

Write key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • headersstringThe original message's full header block, at most 65536 bytes. The whole request body may be 98304 bytes, room for the JSON escaping of a full block.

Responses

  • 201The diagnosed case V1DiagnosisCaseDetail
    • idstring
    • createdAtstring
    • status"received" | "analyzing" | "diagnosed" | "needs_headers" | "refused" | "failed"
    • source"email" | "paste"
    • artifactKindstring | null
    • domainstring | null
    • subjectstring | null
    • forwarderEmailstring | null
    • replySentAtstring | null
    • refusalReasonstring | null
    • verdictV1DiagnosisVerdict | null
      • cause"authentication" | "reputation" | "forwarding" | "transport" | "recipient_issue" | "policy_block" | "unclear"
      • confidencestring | null
      • causeLabelstring | null
      • narrativestring | null
      • providersAffectedstring[]
      • ruledOutobject[]
      • actionsobject[]
      • bounceStatusstring | null
      • bounceReplyLinestring | null
    • evidenceV1DiagnosisEvidenceRow[]
      • sourcestring
      • statestring
      • stateLabelstring
      • findingstring
    • fixobject
      • changeIdstring | null
      • changeStatusstring | null
    • watchUntilstring | null
    • recoveryConfirmedAtstring | null
  • 400invalid_request (headers missing or empty, reason `headers_required`)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key) or plan_required
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 409conflict (duplicate submission) or plan_limit (monthly quota); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 98304 bytes, maxBytes 98304; or the header block is over 65536 bytes, reason `headers_too_large`, maxBytes 65536)
  • 422invalid_request (`needs_headers`, or `foreign_domain` when the headers are not for a verified domain in the workspace; the case is still saved and its id is in the body); idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key, or the workspace's daily cap of 20 cases, reason `daily_cap`, which clears at midnight UTC); Retry-After says when to retry
GET/v1/diagnosis/{id}One Delivery Diagnosis case in full

Read key · Bearer

Parameters

  • idpath · string · requiredthe case id (from GET /v1/diagnosis)
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200The case detail V1DiagnosisCaseDetail
    • idstring
    • createdAtstring
    • status"received" | "analyzing" | "diagnosed" | "needs_headers" | "refused" | "failed"
    • source"email" | "paste"
    • artifactKindstring | null
    • domainstring | null
    • subjectstring | null
    • forwarderEmailstring | null
    • replySentAtstring | null
    • refusalReasonstring | null
    • verdictV1DiagnosisVerdict | null
      • cause"authentication" | "reputation" | "forwarding" | "transport" | "recipient_issue" | "policy_block" | "unclear"
      • confidencestring | null
      • causeLabelstring | null
      • narrativestring | null
      • providersAffectedstring[]
      • ruledOutobject[]
      • actionsobject[]
      • bounceStatusstring | null
      • bounceReplyLinestring | null
    • evidenceV1DiagnosisEvidenceRow[]
      • sourcestring
      • statestring
      • stateLabelstring
      • findingstring
    • fixobject
      • changeIdstring | null
      • changeStatusstring | null
    • watchUntilstring | null
    • recoveryConfirmedAtstring | null
  • 400invalid_request (malformed id)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404No case with that id in the caller's workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Mandate Monitor2 endpoints

GET/v1/domains/{domain}/mandateMandate Monitor status for a domain

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • domainpath · string · required

Responses

  • 200Mandate Monitor status V1MandateStatusResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • hasCapabilityboolean
    • probeMintedboolean
    • gradedCountinteger
    • steadyboolean
    • checksV1MandateCheck[]
      • idstring
      • labelstring
      • sourcestring
      • passedinteger
      • applicableinteger
      • worststring | null
    • streamsV1MandateStream[]
      • idstring
      • fromAddressstring
      • dkimDomainstring
      • dkimSelectorstring
      • classificationstring
      • classificationSourcestring
      • messageCountinteger
      • worstVerdictstring | null
      • lastSeenAtstring
    • microsoft515Count30dinteger
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the workspace (or the feature is switched off); or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/mandate/messagesList probe-graded messages

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • domainquery · string · optional
  • limitquery · integer · optionalHow many messages one page holds (default 25, at most 100; a larger value is read as 100).
  • cursorquery · string · optionalLeave out for the first page (newest first). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200Graded messages V1MandateMessagesResponse
    • messagesV1MandateMessage[]
      • idstring
      • receivedAtstring
      • domainstring | null
      • subjectstring | null
      • fromAddressstring
      • verdictstring
      • rulebookVersioninteger
      • checksobject[]
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Lookalike Domains2 endpoints

GET/v1/domains/{domain}/lookalikesLookalike domains found for a domain

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • domainpath · string · required

Responses

  • 200Lookalike domains for the domain V1LookalikeDomainsResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • hasCapabilitybooleanLite+ has the permutation scan; Free sees receiver-reported rows only.
    • activeCountinteger
    • registeredCountinteger
    • ignoredCountinteger
    • scanV1LookalikeScanState | null
      • candidatesGeneratedinteger
      • lastDnsPassCompletedstring | null
      • lastCtOkstring | null
      • lastCtErrorstring | null
    • activeV1LookalikeRow[]
      • idstring (uuid)
      • namestringThe lookalike in ASCII (punycode) form, the stored identity.
      • displaystringUnicode form for display; equals name for plain ASCII.
      • isIdnboolean
      • rulestringThe generator rule that produced it (`homoglyph`, `tld_swap`, `keyword_affix`, and so on), or `rua_evidence` for a name a receiver reported.
      • ruleLabelstring
      • status"active" | "registered" | "ignored"
      • ignoreReasonstring | nullours, partner or other when ignored.
      • hasNsboolean
      • hasMxboolean
      • hasSpfboolean
      • hasDmarcboolean
      • parkedbooleanName servers or MX at a parking or for-sale service; registered but not set up to send, never active.
      • ctFirstSeenstring | nullEarliest certificate-transparency cert seen for the name (confirmation only).
      • ruaMessages90dintegerMessages receivers reported in the last 90 days with this name as the envelope or header From.
      • ruaLastSeenstring | null
      • registrarstring | null
      • registeredAtstring | nullRegistration date per RDAP, when known.
      • abuseEmailstring | nullThe registrar's abuse contact per RDAP, for the evidence pack.
      • firstSeenstring
      • lastSeenstring
    • registeredV1LookalikeRow[]
      • idstring (uuid)
      • namestringThe lookalike in ASCII (punycode) form, the stored identity.
      • displaystringUnicode form for display; equals name for plain ASCII.
      • isIdnboolean
      • rulestringThe generator rule that produced it (`homoglyph`, `tld_swap`, `keyword_affix`, and so on), or `rua_evidence` for a name a receiver reported.
      • ruleLabelstring
      • status"active" | "registered" | "ignored"
      • ignoreReasonstring | nullours, partner or other when ignored.
      • hasNsboolean
      • hasMxboolean
      • hasSpfboolean
      • hasDmarcboolean
      • parkedbooleanName servers or MX at a parking or for-sale service; registered but not set up to send, never active.
      • ctFirstSeenstring | nullEarliest certificate-transparency cert seen for the name (confirmation only).
      • ruaMessages90dintegerMessages receivers reported in the last 90 days with this name as the envelope or header From.
      • ruaLastSeenstring | null
      • registrarstring | null
      • registeredAtstring | nullRegistration date per RDAP, when known.
      • abuseEmailstring | nullThe registrar's abuse contact per RDAP, for the evidence pack.
      • firstSeenstring
      • lastSeenstring
    • ignoredV1LookalikeRow[]
      • idstring (uuid)
      • namestringThe lookalike in ASCII (punycode) form, the stored identity.
      • displaystringUnicode form for display; equals name for plain ASCII.
      • isIdnboolean
      • rulestringThe generator rule that produced it (`homoglyph`, `tld_swap`, `keyword_affix`, and so on), or `rua_evidence` for a name a receiver reported.
      • ruleLabelstring
      • status"active" | "registered" | "ignored"
      • ignoreReasonstring | nullours, partner or other when ignored.
      • hasNsboolean
      • hasMxboolean
      • hasSpfboolean
      • hasDmarcboolean
      • parkedbooleanName servers or MX at a parking or for-sale service; registered but not set up to send, never active.
      • ctFirstSeenstring | nullEarliest certificate-transparency cert seen for the name (confirmation only).
      • ruaMessages90dintegerMessages receivers reported in the last 90 days with this name as the envelope or header From.
      • ruaLastSeenstring | null
      • registrarstring | null
      • registeredAtstring | nullRegistration date per RDAP, when known.
      • abuseEmailstring | nullThe registrar's abuse contact per RDAP, for the evidence pack.
      • firstSeenstring
      • lastSeenstring
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the workspace (or the feature is switched off); or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/domains/{domain}/lookalikes/{id}/ignoreIgnore a lookalike domain

Write key · Bearer

Parameters

  • domainpath · string · requireddomain name (workspace-scoped)
  • idpath · string (uuid) · requiredthe lookalike row id from GET /v1/domains/{domain}/lookalikes
  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • reason"ours" | "partner" | "other"

Responses

  • 200Ignored V1IgnoreLookalikeResponse
    • domainstring
    • idstring (uuid)
    • reason"ours" | "partner" | "other"
    • ignoredboolean
  • 400invalid_request (unknown reason) or workspace_required
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404Domain or lookalike row not found in the caller's workspace (or the feature is switched off); or an organization key named a workspace outside its organization; a tracked subdomain, which this endpoint does not answer for, is a 404 whose reason names it as one
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Sender Authorization Review1 endpoint

GET/v1/domains/{domain}/sender-reviewSender authorization review for a domain

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • domainpath · string · required

Responses

  • 200The sender authorization review V1SenderReviewResponse
    • trackedSubdomainV1TrackedSubdomainNote · optionalPresent when the request named a tracked subdomain (#6808): this answer is about the domain it is tracked under, its parent, whose keys, settings or programs it shares. Its DMARC policy is the one in `dmarcRecord`'s record, which is not always the parent's.
      • namestringThe tracked subdomain the request named.
      • followsstringThe domain it is tracked under, which this answer is about.
      • dmarcRecordstring | nullThe name whose DMARC record receivers apply to the tracked subdomain: its own name when it publishes one, else the record it follows (its parent's, or the organizational domain's when the parent is itself a subdomain). Null when no record applies or DNS did not answer.
    • domainstring
    • windowDaysinteger
    • status"ok" | "not_enough_history"The >=90-day history honesty gate's verdict; not_enough_history means findings are suppressed, never guessed.
    • historyDaysinteger | null
    • treeResolvedboolean
    • hasSpfRecordboolean
    • spfRecordstring | null
    • trafficCompletebooleanFalse when the traffic read hit its row cap; unused claims are suppressed then.
    • dkimObservationCompletebooleanFalse when grouped signing observations exceeded the observation cap. Signed counts are then lower bounds; missing observations cannot establish idle keys, and idle-key findings are suppressed.
    • findingsLockedbooleanTrue when the plan does not include the findings. findings and dkimIdle are then null, not empty, so no claim is made.
    • findingsV1SenderReviewFinding[] | null
      • type"spf_include_unused" | "spf_include_unrecognized"
      • includestring
      • vendorstring | null
      • rangeCountinteger
    • dkimIdleobject[] | null
      • selectorstring
    • grantsV1SenderReviewGrant[]
      • keystringStable grant identity, e.g. include:sendgrid.net or ip4:203.0.113.0/24.
      • kind"include" | "redirect" | "ip4" | "ip6" | "a" | "mx" | "exists" | "ptr"
      • qualifier"+" | "-" | "~" | "?"SPF qualifier as written: `+` means pass, `-` fail, `~` softfail, and `?` neutral. An omitted qualifier or a redirect serializes as `+`. Non-pass terms are preserved as SPF terms, not permission to send.
      • valuestring
      • vendorstring | nullVendor name when the include matches the anchor catalog; null = unrecognized (never guessed).
      • rangeCountinteger
      • attributedVolumenumberMessages attributed to this grant's ranges in the window (an IP under two grants credits both).
      • attributedIpsinteger
      • lastAttributedAtstring | null
      • reviewability"reviewable" | "macro" | "non_enumerable" | "truncated" | "unresolved" | "no_ranges" | "mail_host" | "mail_host_unknown" | "not_include"Why the grant can or cannot be judged for usage; anything but reviewable is never flagged unused.
    • selectorsV1SenderReviewSelector[]
      • selectorstring
      • vendorstring | null
      • algostring | null
      • keyBitsinteger | null
      • source"auto" | "user"
      • signedVolumenumberMessages reported carrying this selector in the window (pass + fail). A lower bound when dkimObservationComplete is false; zero then cannot establish that the key was idle.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Domain not found in the workspace; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Senders4 endpoints

GET/v1/sendersList your custom senders

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • limitquery · integer · optionalHow many senders one page holds (default 100, at most 500; a larger value is read as 500).
  • cursorquery · string · optionalLeave out for the first page (newest first). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200The workspace's custom senders V1CustomSendersResponse
    • countinteger
    • sendersobject[]
      • senderIdstring (uuid)
      • namestring
      • category"email_provider" | "esp_marketing" | "esp_transactional" | "security" | "infrastructure" | "crm" | "other"
      • rangesstring[]
      • iconUrlstring | null
      • volume30dnumber
      • lastSeenstring | null
      • createdAtstring
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403Plan does not include API access
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/sendersIdentify a sending IP or CIDR range as a named vendor

Write key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • ipOrCidrstringAn IP or CIDR, e.g. 198.2.132.1 or 198.2.128.0/18.
  • namestringThe vendor or sender name, e.g. Mailchimp.
  • category"email_provider" | "esp_marketing" | "esp_transactional" | "security" | "infrastructure" | "crm" | "other"

Responses

  • 201Sender identified V1IdentifySenderResponse
    • senderIdstring (uuid)
    • namestring
    • category"email_provider" | "esp_marketing" | "esp_transactional" | "security" | "infrastructure" | "crm" | "other"
    • ipOrCidrstring
  • 400invalid_request (missing name, invalid category or invalid CIDR)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 409conflict (a sender with that name already exists); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
PATCH/v1/senders/{id}Update a custom sender

Write key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • namestring · optional
  • category"email_provider" | "esp_marketing" | "esp_transactional" | "security" | "infrastructure" | "crm" | "other" · optional
  • addRangestring · optionalAn IP or CIDR to add (widest /24 IPv4, /48 IPv6; max 16 ranges per sender).
  • removeRangestring · optionalAn existing range to remove. The last range is refused; delete the sender instead.

Responses

  • 200Sender updated V1UpdateSenderResponse
    • senderIdstring (uuid)
    • namestring
    • corpusOverlapsobject[]Input ranges that sit inside a global catalog vendor's published ranges (warn-and-allow).
      • rangestring
      • corpusSenderstring
  • 400invalid_request (nothing to do, invalid category, invalid or too-wide CIDR, or range not found)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a suspended account)
  • 404Not this workspace's custom sender (catalog vendors are never editable); or an organization key named a workspace outside its organization
  • 409conflict (duplicate name or range, overlap with your own sender, range cap, last range); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
DELETE/v1/senders/{id}Delete a custom sender

Write key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200Sender deleted V1DeleteSenderResponse
    • senderIdstring (uuid)
    • namestring
    • deletedboolean
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (a read-only key, or a key whose creator is not an admin or owner; deleting is reserved for admins and owners)
  • 404Not this workspace's custom sender; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Webhooks9 endpoints

GET/v1/webhooksList your outbound webhook endpoints

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200The workspace's webhook endpoints V1WebhooksResponse
    • countinteger
    • webhooksV1WebhookEndpoint[]
      • idstring (uuid)
      • urlstring | nullThe full endpoint URL for a key with write access; null for a read-only key, which sees host only.
      • hoststringThe endpoint's host name.
      • descriptionstring | null
      • secretPrefixstring
      • eventTypesstring[] | null
      • status"active" | "disabled"active, or disabled (paused by you, or turned off after repeated failures).
      • consecutiveFailuresinteger
      • previousSecretExpiresAtstring (date-time) | nullWhile a new signing secret overlaps the one it replaced, when the old one stops signing deliveries in the X-TYI-Signature-Previous header. Null outside an overlap.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403Plan does not include outbound webhooks
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/webhooksRegister an outbound webhook endpoint

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • urlstringThe https endpoint URL to POST events to.
  • descriptionstring · optionalOptional label, e.g. Prod SIEM.
  • eventTypes("anomaly.crit" | "dns_fix.applied" | "dns_fix.reverted" | "dns_fix.failed" | "diagnosis.completed" | "diagnosis.recovery_confirmed" | "enforcement.regression_detected" | "enforcement.watch_all_clear" | "mandate.gap_detected" | "mandate.gap_resolved" | "anomaly.resolved" | "dns.record_changed")[] · optionalWhich events to receive; omit for all.

Responses

  • 201Endpoint created (signing secret returned once) V1CreateWebhookResponse
    • idstring (uuid)
    • secretstring | nullThe signing secret, returned once and never again. Null on an Idempotency-Key replay (the secret is never persisted for replay).
    • secretPrefixstring
  • 400invalid_request (reason invalid_url, https_required, private_address, own_host, custom_port, credentials_in_url, or invalid_event_type for an unknown type or an eventTypes that is not a list) V1WebhookRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key), or plan_required
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 409conflict (endpoint limit reached); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
PATCH/v1/webhooks/{id}Change an outbound webhook endpoint's URL, label or events

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • urlstring · optionalThe new https endpoint URL.
  • descriptionstring | null · optionalThe label, e.g. Prod SIEM; null clears it.
  • eventTypes("anomaly.crit" | "dns_fix.applied" | "dns_fix.reverted" | "dns_fix.failed" | "diagnosis.completed" | "diagnosis.recovery_confirmed" | "enforcement.regression_detected" | "enforcement.watch_all_clear" | "mandate.gap_detected" | "mandate.gap_resolved" | "anomaly.resolved" | "dns.record_changed")[] | null · optionalWhich events to receive; null for all.

Responses

  • 200The endpoint after the change V1WebhookResponse
    • webhookV1WebhookEndpointOne outbound webhook endpoint.
      • idstring (uuid)
      • urlstring | nullThe full endpoint URL for a key with write access; null for a read-only key, which sees host only.
      • hoststringThe endpoint's host name.
      • descriptionstring | null
      • secretPrefixstring
      • eventTypesstring[] | null
      • status"active" | "disabled"active, or disabled (paused by you, or turned off after repeated failures).
      • consecutiveFailuresinteger
      • previousSecretExpiresAtstring (date-time) | nullWhile a new signing secret overlaps the one it replaced, when the old one stops signing deliveries in the X-TYI-Signature-Previous header. Null outside an overlap.
  • 400invalid_request (reason invalid_url, https_required, private_address, own_host, custom_port, credentials_in_url, invalid_event_type, invalid_description or nothing_to_change), or workspace_required V1WebhookRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key), or plan_required
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
DELETE/v1/webhooks/{id}Delete an outbound webhook endpoint

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200Endpoint deleted V1DeleteWebhookResponse
    • idstring (uuid)
    • deletedboolean
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key, or a key whose creator is not an admin or owner; deleting is reserved for admins and owners)
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/webhooks/{id}/testSend a test event to an outbound webhook endpoint

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200The test's outcome. A test your endpoint refused is still a 200 that says so. V1WebhookTestResponse
    • idstring (uuid)
    • eventIdstringThe test event's id, as sent in the X-TYI-Event-Id header. It starts with test_.
    • deliveredbooleanTrue when your endpoint answered with a 2xx status.
    • statusinteger | nullThe HTTP status your endpoint answered with; null when it never answered.
    • errorstring | nullA short code saying why the delivery failed, such as a timeout or a refused address. Null when your endpoint accepted it.
    • detailstring | nullA sentence describing the failure, as the settings page shows it.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key), or plan_required
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/webhooks/{id}/pausePause an outbound webhook endpoint

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200The endpoint, paused V1WebhookResponse
    • webhookV1WebhookEndpointOne outbound webhook endpoint.
      • idstring (uuid)
      • urlstring | nullThe full endpoint URL for a key with write access; null for a read-only key, which sees host only.
      • hoststringThe endpoint's host name.
      • descriptionstring | null
      • secretPrefixstring
      • eventTypesstring[] | null
      • status"active" | "disabled"active, or disabled (paused by you, or turned off after repeated failures).
      • consecutiveFailuresinteger
      • previousSecretExpiresAtstring (date-time) | nullWhile a new signing secret overlaps the one it replaced, when the old one stops signing deliveries in the X-TYI-Signature-Previous header. Null outside an overlap.
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key), or plan_required
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/webhooks/{id}/resumeResume an outbound webhook endpoint

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200The endpoint, active again V1WebhookResponse
    • webhookV1WebhookEndpointOne outbound webhook endpoint.
      • idstring (uuid)
      • urlstring | nullThe full endpoint URL for a key with write access; null for a read-only key, which sees host only.
      • hoststringThe endpoint's host name.
      • descriptionstring | null
      • secretPrefixstring
      • eventTypesstring[] | null
      • status"active" | "disabled"active, or disabled (paused by you, or turned off after repeated failures).
      • consecutiveFailuresinteger
      • previousSecretExpiresAtstring (date-time) | nullWhile a new signing secret overlaps the one it replaced, when the old one stops signing deliveries in the X-TYI-Signature-Previous header. Null outside an overlap.
  • 400invalid_request (the saved URL is not accepted; reason own_host, custom_port, credentials_in_url, https_required, private_address or invalid_url), or workspace_required V1WebhookRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key), or plan_required
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/webhooks/{id}/secretMake a new signing secret for an outbound webhook endpoint

Write key with sharing allowed · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200The new signing secret (returned once) V1WebhookSecretResponse
    • idstring (uuid)
    • secretstring | nullThe new signing secret, returned once and never again. Null on an Idempotency-Key replay (the secret is never persisted for replay).
    • secretPrefixstring
    • previousSecretExpiresAtstring (date-time)When the replaced secret stops signing deliveries in the X-TYI-Signature-Previous header (24 hours after this call).
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (a read-only key), or plan_required
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/webhooks/{id}/deliveriesRecent delivery attempts for an endpoint

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.
  • idpath · string (uuid) · required
  • limitquery · integer · optionalHow many delivery attempts one page holds (default 50, at most 200; a larger value is read as 200).
  • cursorquery · string · optionalLeave out for the first page (newest first). For the next page, the nextCursor the previous page answered, exactly as it came. A cursor this list did not hand out answers 400 invalid_request with reason invalid_cursor.

Responses

  • 200Recent delivery attempts V1WebhookDeliveriesResponse
    • endpointIdstring (uuid)
    • countinteger
    • deliveriesobject[]
      • idstring (uuid)
      • eventTypestring
      • status"pending" | "delivered" | "failed"
      • responseCodeinteger | null
      • errorstring | null
      • attemptinteger
      • createdAtstring (date-time)When the attempt was made.
    • nextCursorstring | nullWhere the next page starts: pass it back as ?cursor= for the rest of the list, exactly as it came. Null on the last page. Opaque; its form may change.
  • 400workspace_required (an organization key called without ?workspace=), or invalid_request with reason invalid_cursor V1CursorRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404Not this workspace's webhook endpoint; or an organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Workspace5 endpoints

GET/v1/workspace/healthWorkspace-wide health summary

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200Workspace health summary V1WorkspaceHealth
    • alignmentPctinteger | nullWorkspace alignment percentage, adjusted for unidentified sources as the dashboard shows it.
    • trendDeltaPpinteger | nullChange in points vs the prior window.
    • totalMessagesinteger
    • totalReportsinteger
    • totalDomainsinteger
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization (says nothing about whether it exists)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/meThe calling key, its account and its plan limits

Read key · Bearer

Responses

  • 200The calling key V1MeResponse
    • keyobject
      • namestring
      • prefixstringThe key's first characters, as the API keys page shows them.
      • grain"workspace" | "organization"workspace = the key belongs to one workspace; organization = an organization's partner key, which names a client workspace with ?workspace=.
      • scopesstring[]What the key may do, e.g. read, write, share, msp:read, msp:write, msp:share.
      • canWriteboolean
      • canSharebooleanThe key may add webhook endpoints, alert recipients and invites (the share scope).
      • createdAtstring (date-time)
      • lastUsedAtstring (date-time) | null
      • expiresAtstring (date-time) | nullNull when the key never expires.
    • role"owner" | "admin" | "member" | "viewer" | "billing"The key creator's current role. Writes also need a role that can edit.
    • organizationobject
      • idstring (uuid)
      • namestring
    • workspaceobject | nullThe key's workspace; null for an organization key.
      • idstring (uuid)
      • namestring
    • planobject
      • tierstring
      • namestring
      • apiAccessbooleanfalse when the plan no longer includes the API; every other call then answers 403 plan_required.
      • limitsobjectNull means no limit.
    • rateLimitobject
      • requestsintegerRequests the key may make per window.
      • windowSecondsinteger
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (the account is suspended)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/membersWho can see the workspace

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200The members who can see the workspace V1MembersResponse
    • countinteger
    • membersobject[]
      • namestring | null
      • emailstring
      • rolestring
      • access"organization" | "workspace"organization = reaches every workspace of the account; workspace = this workspace only.
      • joinedAtstring (date-time)
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/invitesPending invites that would reach the workspace

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200The pending invites V1InvitesResponse
    • countinteger
    • invitesobject[]
      • emailstring
      • rolestring
      • access"organization" | "workspace"organization = reaches every workspace of the account; workspace = this workspace only.
      • invitedAtstring (date-time)
      • expiresAtstring (date-time)
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/credentialsThe workspace's API keys and AI assistant tokens

Read key · Bearer

Parameters

  • workspacequery · string (uuid) · optionalOrganization keys only (the MSP partner API): the client workspace this call acts on. Ids come from GET /v1/msp/clients, or the Client workspace IDs table on /msp/api. Required with an organization key, which answers 400 workspace_required without it. A workspace outside the key's own organization answers 404, which says nothing about whether it exists. A workspace key ignores this parameter and stays pinned to its own workspace.

Responses

  • 200The workspace's keys and tokens V1CredentialsResponse
    • countinteger
    • credentialsobject[]
      • kind"mcp_token" | "api_key"
      • namestring
      • prefixstringThe first characters, as the settings lists show them.
      • reachstringWhat it can do, in words, e.g. "read and write, sharing outside the account".
      • state"active" | "revoked" | "expired" | "orphaned"orphaned = its creator lost access, so it no longer works.
      • createdBystring | null
      • createdAtstring (date-time)
      • lastUsedAtstring (date-time) | null
      • expiresAtstring (date-time) | null
  • 400workspace_required (an organization key called without ?workspace=)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403plan_required, or forbidden (the account is suspended)
  • 404An organization key named a workspace outside its organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

Credentials1 endpoint

GET/v1/token-checkCheck whether one of our credentials still works (for secret scanners)

No API key · Bearer is the credential to check

Responses

  • 200The verdict V1TokenCheckResponse
    • activebooleanTrue while the credential works; false when it is revoked, expired, replaced, no longer backed by its creator, unknown or malformed.
  • 400invalid_request (no Authorization Bearer header was sent) V1Error
  • 429rate_limited (60 requests a minute per address); Retry-After says when to retry V1Error
  • 500internal (the check could not run); retry later V1Error

MSP21 endpoints

GET/v1/msp/clientsThe MSP book of business

Organization key with msp:read · Bearer

Responses

  • 200The book of business V1MspClientsResponse
    • clientsV1MspClientRow[]
      • workspaceIdstring
      • namestring
      • createdAtstring (date-time)
      • archivedAtstring (date-time) | null
      • contactEmailstring | null
      • domainsTotalinteger
      • domainsVerifiedinteger
      • sendingDomainsinteger
      • enforcedSendingDomainsinteger
      • openCritsinteger
      • blockedSpoof30dinteger
      • dataThroughstring | nullRUA data-through timestamp; null = no reports yet.
    • archivedV1MspClientRow[]
      • workspaceIdstring
      • namestring
      • createdAtstring (date-time)
      • archivedAtstring (date-time) | null
      • contactEmailstring | null
      • domainsTotalinteger
      • domainsVerifiedinteger
      • sendingDomainsinteger
      • enforcedSendingDomainsinteger
      • openCritsinteger
      • blockedSpoof30dinteger
      • dataThroughstring | nullRUA data-through timestamp; null = no reports yet.
    • summaryobject
      • clientCountinteger
      • domainCountinteger
      • sendingDomainsinteger
      • enforcedSendingDomainsinteger
      • openCritsinteger
      • blockedSpoof30dinteger
      • workspaceLimitinteger | null
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required (workspace key) or plan_required
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/clientsCreate a client workspace

Organization key with msp:write · Bearer

Parameters

  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • namestringThe client's display name, e.g. Acme Roofing.

Responses

  • 201Client workspace created V1MspCreateClientResponse
    • workspaceIdstring
    • namestring
    • slugstring
  • 400invalid_request (missing or over-long name)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (no msp:write, or the creator's role cannot manage the org)
  • 409plan_limit (workspace ceiling); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/msp/clients/{id}One client workspace's posture

Organization key with msp:read · Bearer

Parameters

  • idpath · string · requiredthe client workspace id (from GET /v1/msp/clients)

Responses

  • 200The client detail V1MspClientDetail
    • workspaceIdstring
    • namestring
    • createdAtstring (date-time)
    • archivedAtstring (date-time) | null
    • internalboolean
    • contactEmailstring | null
    • domainsobject[]
      • namestring
      • status"pending" | "verified" | "paused" | "plan_paused" | "deleted"pending = waiting for its verification record; verified = monitored; paused = paused by you; plan_paused = paused because the plan's domain limit was lowered (choose which domains stay in Billing); deleted = removed and kept for a while so it can be restored.
      • purpose"sending" | "monitor_only"
      • policystring | null
      • pctinteger | null
      • testModebooleanTrue only when the published DMARC record carries `t=y`. A `t=n` record, or one with no `t` tag, is not in test mode.
      • enforcedboolean
    • membersobject[]
      • emailstring
      • rolestring
      • createdAtstring (date-time)
    • orgLevelMemberCountinteger
    • pendingInvitesobject[]
      • emailstring
      • rolestring
      • expiresAtstring (date-time)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required or plan_required
  • 404No client workspace with that id in the key's organization
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/clients/{id}/archiveArchive a client

Organization key with msp:write · Bearer

Parameters

  • idpath · string · required

Responses

  • 200Archived V1MspArchiveResponse
    • workspaceIdstring
    • archivedboolean
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (scope or role)
  • 404Unknown or foreign client id
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/clients/{id}/restoreRestore an archived client

Organization key with msp:write · Bearer

Parameters

  • idpath · string · required

Responses

  • 200Restored V1MspArchiveResponse
    • workspaceIdstring
    • archivedboolean
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (scope or role)
  • 404Unknown or foreign client id
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/clients/{id}/domainsBulk-add domains to a client

Organization key with msp:write · Bearer

Parameters

  • idpath · string · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • domainsstring[]Domain names to add.
  • purpose"sending" | "monitor_only" · optionalDefaults to sending.

Responses

  • 200Per-row outcomes V1MspBulkAddResponse
    • addedinteger
    • itemsobject[]
      • inputstring
      • outcome"added" | "restored" | "duplicate" | "invalid" | "aup_blocked" | "plan_limit" | "failed"
      • domainstring | null
      • review"pending" · optionalPresent when our team reviews this domain. Its acceptable use check could not run, and it works as usual meanwhile; or the check flagged it, and it can't be verified until the review ends.
      • dmarcV1DmarcSetup · optionalThe one DNS record that verifies the domain and starts its reports: a DMARC record that names the domain's own report address. An existing record keeps everything it says and gains the address.
  • 400invalid_request (empty, over 200 rows, or a non-string entry)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (scope or role)
  • 404Unknown or foreign client id
  • 409conflict (client is archived); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/clients/{id}/invitesInvite a client user

Organization key with msp:write, msp:share · Bearer

Parameters

  • idpath · string · required

Request body

  • emailstringOne plain email address. An address no mail can reach, such as one at a reserved domain (example.com, or any name ending in .test or .invalid), is refused with a 400.
  • role"viewer" · optionalAlways viewer; omit it. Any other role is refused with a 400.

Responses

  • 201Invite sent V1MspInviteResponse
    • workspaceIdstring
    • emailstring
    • rolestring
  • 400invalid_request (email, or a role other than viewer)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role)
  • 404Unknown or foreign client id
  • 409conflict (already a member, already invited, or archived) or plan_limit (seats)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (too many requests, or too many invite emails from this organization)
GET/v1/msp/usageA month of the usage ledger

Organization key with msp:read · Bearer

Parameters

  • monthquery · string · optionalCalendar month, YYYY-MM (UTC). Defaults to the current month.

Responses

  • 200The month's ledger V1MspUsageMonth
    • monthstringYYYY-MM (UTC calendar month).
    • daysobject[]
      • usageDatestring
      • billableintegerRetained daily high-water billable quantity.
      • freeMonitorinteger
      • nfrinteger
    • monthPeakBillableintegerMonth high-water including retained event reservations; a projection, not a paid-invoice receipt. In a first month it counts only days from the subscription start.
    • billedQuantityintegerThe quantity the month bills. Equal to monthPeakBillable, except in a first month, where it is that peak scaled by the days billed and rounded to the nearest whole domain.
    • firstMonthobject | nullSet when the subscription started after the 1st of this month, null for a whole month. Days before the start are not counted.
      • startedOnstringYYYY-MM-DD (UTC) the subscription started.
      • daysBilledintegerDays from the start through the month's last day.
      • daysInMonthinteger
    • perClientSnapshotKnownbooleanWhether the latest monthly per-client snapshot is valid; false distinguishes unavailable history from a genuine empty snapshot.
    • perClientobject[]
      • workspaceIdstring
      • namestring
      • billableintegerBillable count in the latest per-client snapshot for this month.
      • freeMonitorinteger
      • nfrinteger
      • sendinginteger · optionalBillable SENDING domains alone, excluding monitor-only domains that overflowed the free allowance and are being billed. Optional: ledger rows written before 2026-08-17 do not carry it. When present it explains the `billable` figure: `billable - sending` is the overflow, and it is the count the free-monitor allowance anchors to (in the internal workspace, its free domain also counts when it sends).
  • 400invalid_request (malformed month)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required or plan_required
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/msp/recipient-relaysMail your clients' recipients' email security changed

Organization key with msp:read · Bearer

Parameters

  • daysquery · integer · optionalHow many days back to read, 1 to 90. Defaults to 30.

Responses

  • 200The book's rows V1MspRecipientRelays
    • daysintegerHow many days back the answer reads.
    • clientCountintegerActive clients read.
    • rowsV1MspRecipientRelayRow[]One row per client domain, domains with failed mail first.
      • workspaceIdstring
      • clientNamestring
      • domainIdstring
      • domainstring
      • titlestring | nullWhat happened to the domain's mail in one line, as the console shows it, or null when none of it failed.
      • causestring | nullWhose email security caused it, or null when none of the mail failed.
      • failingEmailsintegerEmails that failed after the change (the quarantined and rejected ones, when the recipient held or refused any).
      • messagesinteger
      • recipientRelaysV1RecipientRelayGroup[]One entry per recipient domain and filter, worst first, the same entries the domain's senders endpoint returns.
  • 400invalid_request (days outside 1 to 90)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required or plan_required
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/msp/brandThe white-label brand profile

Organization key with msp:read · Bearer

Responses

  • 200The brand profile V1MspBrand
    • configuredboolean
    • productNamestring | null
    • colorsobject | null
      • primarystring · optional
      • accentstring · optional
    • emailFromNamestring | null
    • emailFromAddressstring | null
    • emailDomainStatusstring
    • portalHostnamestring | null
    • portalHostnameStatusstring
    • skinOwnDashboardboolean
    • supportUrlstring | null
    • supportEmailstring | null
    • privacyUrlstring | null
    • termsUrlstring | null
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required or plan_required
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/msp/alert-policyThe account alert policy

Organization key with msp:read · Bearer

Responses

  • 200The alert policy V1MspAlertPolicy
    • severity"crit" | "crit_warn"
    • delivery"instant" | "hourly"
    • newSourcesBlockedboolean
    • storedbooleanFalse until the account saved its settings once; the defaults apply until then.
    • updatedAtstring (date-time) | null
    • clientsobject[]
      • workspaceIdstring
      • namestring
      • archivedboolean
      • override"muted" | "crit" | "crit_warn" | nullnull means the account policy applies to this client.
    • recipientsV1MspAlertRecipient[]
      • idstring
      • addressstring
      • state"awaiting" | "confirmed" | "expired" | "unsubscribed"awaiting: the confirmation link was sent and not clicked yet. expired: the link lapsed unclicked. Only a confirmed recipient receives alerts.
      • confirmExpiresAtstring (date-time) | null
      • confirmedAtstring (date-time) | null
      • unsubscribedAtstring (date-time) | null
      • createdAtstring (date-time)
    • maxRecipientsinteger
    • routeobjectThe account's own Slack channel and webhook endpoint, for every client.
      • slackobject | null
      • webhookobject | null
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required or plan_required
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
PUT/v1/msp/alert-policyReplace the account alert policy

Organization key with msp:write · Bearer

Request body

  • severity"crit" | "crit_warn"crit alerts on critical findings only; crit_warn adds warnings.
  • delivery"instant" | "hourly"instant emails each alert as it fires; hourly sends one roll-up an hour.
  • newSourcesBlockedbooleanAlert when receivers block a wave of mail from sources new to a domain.

Responses

  • 200Saved V1MspAlertPolicySettings
    • severity"crit" | "crit_warn"crit alerts on critical findings only; crit_warn adds warnings.
    • delivery"instant" | "hourly"instant emails each alert as it fires; hourly sends one roll-up an hour.
    • newSourcesBlockedbooleanAlert when receivers block a wave of mail from sources new to a domain.
  • 400invalid_request (a field is missing or not one of its values)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (scope or role, or a suspended account)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
PUT/v1/msp/alert-policy/clients/{id}Set or clear one client's alert override

Organization key with msp:write · Bearer

Parameters

  • idpath · string · required

Request body

  • mode"muted" | "crit" | "crit_warn" | null

Responses

  • 200Saved V1MspAlertOverrideResponse
    • workspaceIdstring
    • override"muted" | "crit" | "crit_warn" | null
  • 400invalid_request (mode missing or not one of its values)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403forbidden (scope or role, or a suspended account turning alerts up)
  • 404Unknown or foreign client id
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
GET/v1/msp/alert-policy/recipientsThe extra alert recipients

Organization key with msp:read · Bearer

Responses

  • 200The recipients V1MspAlertRecipients
    • recipientsV1MspAlertRecipient[]
      • idstring
      • addressstring
      • state"awaiting" | "confirmed" | "expired" | "unsubscribed"awaiting: the confirmation link was sent and not clicked yet. expired: the link lapsed unclicked. Only a confirmed recipient receives alerts.
      • confirmExpiresAtstring (date-time) | null
      • confirmedAtstring (date-time) | null
      • unsubscribedAtstring (date-time) | null
      • createdAtstring (date-time)
    • maxRecipientsintegerThe most extra recipients an account may have.
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403org_key_required or plan_required
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/alert-policy/recipientsAdd an extra alert recipient

Organization key with msp:write, msp:share · Bearer

Parameters

  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • addressstring

Responses

  • 201Added; the confirmation email was sent V1MspAlertRecipientAdded
    • idstring
    • addressstring
    • state"awaiting"
  • 400invalid_request (not a valid email address)
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role, or a suspended account)
  • 409conflict (already listed, a member, unsubscribed, or the list is full); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (too many requests, or too many confirmation emails from this account)
  • 502email_failed (saved, but the confirmation email did not send; the body carries the id)
DELETE/v1/msp/alert-policy/recipients/{id}Remove an extra alert recipient

Organization key with msp:write, msp:share · Bearer

Parameters

  • idpath · string · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200Removed
    • idstring
    • removedboolean
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role)
  • 404Unknown or foreign recipient id
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/alert-policy/recipients/{id}/resendResend a recipient's confirmation link

Organization key with msp:write, msp:share · Bearer

Parameters

  • idpath · string · required
  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200Sent
    • idstring
    • resentboolean
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role, or a suspended account)
  • 404Unknown or foreign recipient id
  • 409conflict (the recipient is not waiting to confirm); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (too many requests, or too many confirmation emails from this account)
  • 502email_failed (the confirmation email did not send)
POST/v1/msp/alert-policy/webhookCreate the account webhook endpoint

Organization key with msp:write, msp:share · Bearer

Parameters

  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Request body

  • urlstring
  • descriptionstring · optionalA label, up to 80 characters.

Responses

  • 201Created; the secret is shown once V1MspAlertWebhookCreated
    • idstring
    • secretstring | nullThe signing secret, shown once. A replay with the same Idempotency-Key answers null.
    • secretPrefixstring
  • 400invalid_request (the URL was refused; reason is invalid_url, https_required, private_address, own_host, custom_port or credentials_in_url) V1WebhookRefusal
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role, or a suspended account) or plan_required
  • 409conflict (the account already has an endpoint); idempotency_in_progress (a request with this Idempotency-Key is still running)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
DELETE/v1/msp/alert-policy/webhookDelete the account webhook endpoint

Organization key with msp:write, msp:share · Bearer

Parameters

  • Idempotency-Keyheader · string · optionalOptional. A retry from the same API key with the same value and the same body replays the first response (marked Idempotent-Replayed: true) for 24 hours instead of running again. Reusing the value with a different method, path or body answers 422 idempotency_key_reused; a retry sent while the first request is still running answers 409 idempotency_in_progress. At most 255 characters.

Responses

  • 200Deleted
    • deletedboolean
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role)
  • 404The account has no webhook endpoint
  • 409idempotency_in_progress (a request with this Idempotency-Key is still running; retry shortly)
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 422idempotency_key_reused (this Idempotency-Key was used for a different request)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/alert-policy/webhook/enableTurn the account webhook endpoint on

Organization key with msp:write, msp:share · Bearer

Responses

  • 200Turned on V1MspAlertWebhookStatus
    • status"active" | "disabled"
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role, or a suspended account)
  • 404The account has no webhook endpoint
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry
POST/v1/msp/alert-policy/webhook/disableTurn the account webhook endpoint off

Organization key with msp:write, msp:share · Bearer

Responses

  • 200Turned off V1MspAlertWebhookStatus
    • status"active" | "disabled"
  • 401Missing or invalid API key, or one that no longer works (revoked, expired, or its creator no longer holds a role that can edit, which also revokes it)
  • 403share_scope_required (the key was not created with sharing allowed), or forbidden (scope or role)
  • 404The account has no webhook endpoint
  • 413payload_too_large (the body is over 16384 bytes; maxBytes in the answer says so)
  • 429rate_limited (120 requests a minute per key); Retry-After says when to retry

A signed post when something changes. Check it with one HMAC.

Register an endpoint and we post each event as JSON. Every delivery is signed with your endpoint's whsec_ secret, so you can verify it came from us and reject a replay.

Signature
X-TYI-Signature: sha256=<hex>HMAC-SHA256 over timestamp.rawBody with your secret.
New secret
X-TYI-Signature-Previous: sha256=<hex>For 24 hours after a new secret, signed with the old one. Accept either header and switch without missing an event.
Timestamp
X-TYI-TimestampUnix seconds, in its own header, so you can refuse a stale one.
Event id
X-TYI-Event-Id
Plan
Pro and up
  • anomaly.crit
  • dns_fix.applied
  • dns_fix.reverted
  • dns_fix.failed
  • diagnosis.completed
  • diagnosis.recovery_confirmed
  • enforcement.regression_detected
  • enforcement.watch_all_clear
  • mandate.gap_detected
  • mandate.gap_resolved
  • anomaly.resolved
  • dns.record_changed

Or ask an assistant. The same data over MCP.

Claude, Cursor or any MCP client can read your workspace and, with a write token, do what you could do yourself: dismiss an issue, re-check DNS, stage a one-click fix.

  1. Create a tokenIn the app under Settings, Integrations, MCP. You see it once; store it like a password and revoke it there any time.
  2. Add the serverURL https://mcp.trustyourinbox.com, with the token as a Bearer credential.
  3. AskStart with "list my domains". A read token answers; a write token acts, and every change it makes carries the token's name in your audit log.

Start with one domain. Add a key when you need one.

Free for one domain, no card. API keys and webhooks come with the Pro plan.

  1. Monitoring
  2. Quarantine
  3. Reject