Skip to main content

Dated changes to the API contract and the documentation.

Changes to the v1 API contract and the guides that document it, newest first.

2026-11-27

  • GET /policy-readiness answers 404 with the error “Domain not found” for a domain the organization does not monitor: one it never added and holds no reports for, including another organization’s domain. This is the answer GET /domains/{domain}/health already gives. Earlier the route answered 200 with the no-data assessment. A domain the organization added, with or without reports, and a domain it holds reports for answer as before.

2026-11-19

  • GET /domains/{domain}/health reports dns.spf.status error, with a details that starts “Receivers refuse this SPF record:”, when the one SPF record a domain publishes ends in a permanent error for receivers: an include that publishes no SPF record or several, an include that loops back, more than ten DNS lookups, or a syntax error (RFC 7208). Earlier the status was ok. Its action_items then carry an entry of the type dns_spf titled “Fix your SPF record”. When the record was found but part of it could not be read, the status is unknown and there is no action item. The fields and the status values are unchanged.

2026-11-18

  • GET /domains/{domain}/health reports dns.spf.status error, with the details “More than one SPF record is published”, for a domain that publishes more than one v=spf1 record. Receivers answer such a domain with a permanent SPF error (RFC 7208 §4.5), so none of its senders passes SPF. Earlier the status was ok. Its action_items then carry an entry of the type dns_spf titled “Merge your SPF records into one”. A TXT record that starts with v=spf10 is no longer taken for an SPF record. The fields and the status values are unchanged.

2026-11-17

  • alert_type on GET /enums has a new code, inbound_gateway_failing, and events[].type and action_items[].type can carry it: mail of the domain reaches a Microsoft 365 organization through a mail security gateway in front of it, the gateway re-sends it, the domain’s DKIM signature does not survive, and Microsoft reports quarantining or rejecting the gateway’s copy. Like relay_failing, it is not deliverable: it appears in the app and in these feeds only. Clients that switch on the type should treat an unknown alert_type as informational.
  • A failure_breakdown entry on GET /domains/{domain}/health can now have the verdict_label Microsoft 365 setting, with verdict unknown. It marks a mail security gateway in front of a Microsoft 365 organization that re-sends the domain’s mail, so Microsoft checks the gateway’s copy instead of the message sent. Its explanation says how an admin of that organization can add the gateway as a trusted ARC sealer. Earlier, such a route had the label Unknown. The verdict values are unchanged.

2026-11-15

  • Three operations join the reference. POST /domains adds a domain to monitoring and returns the DNS records to publish. It needs a key with the full scope. A new parameter, if_absent=true, answers a domain that is already set up with {"domain", "already_monitored": true} and changes nothing; a domain the organization holds but never set up (one a report created) gets the full add. Without the parameter, the call behaves as before. Merged report addresses and tags from a domain’s existing DMARC, TLS-RPT and APRF records are now limited to valid values, with a warning naming what was left out. GET /policy-readiness says whether a domain is ready to enforce its DMARC policy. GET /forensic-reports lists failure reports; an empty page is [].
  • Concurrent adds can no longer take an organization past its plan’s domain limit: every add over the limit gets the 402, or, when another add changed the organization’s domains at that moment, a 409 that is safe to retry.
  • GET /reports/{id} can return one page of a large report’s records: send record_limit (1 to 1000) and, for later pages, record_offset. Records, record_classifications and record_alignment are cut to the same page, and the answer adds total_records and truncated, which is true only while more records follow. failure_summary still counts the whole report. Without either parameter the answer is unchanged.

2026-11-13

  • GET /domains/{domain}/health has a new optional array, failure_breakdown: where the domain’s failing mail of the last 7 days comes from, at most five routes, the one failing most first. Each entry has name (the sending service or gateway, or Unidentified sources), messages and failing (counts for the route in that window), verdict (yours, recipient_side or unknown: whose the failing mail is to fix, as far as reports can show), verdict_label and explanation (ready-to-show text; do not branch on their wording), and recipient_organizations when a report names who the mail was addressed to (a count; the names are never returned). The array is absent when no route has enough failing mail to list.
  • alert_type on GET /enums has four new codes, and events[].type and action_items[].type can carry them: dkim_key_failing (a DKIM key of the domain that receivers cannot validate), spf_record_failing (an SPF record receivers cannot evaluate, or an envelope sender domain with none), relay_failing (mail whose authentication breaks on the way through a mail security gateway) and sender_unaligned (a sending service that signs as another domain). dkim_key_failing and spf_record_failing are deliverable: an alert rule can name them, and a webhook carries them as type 6 and 7. The other two appear in the app and in these feeds only. Clients that switch on the type should treat an unknown alert_type as informational.
  • GET /reports/{id} lists more in parse_warnings. A report that names its reporting period <data_range>, or a record’s identifiers <identities>, is now read as the standard element, and an entry says so (read <data_range> as <date_range>). Earlier, such a report had no reporting period or no From domain; reports already received are corrected. Any other element the parser does not recognize is listed as unrecognized element <name> in <parent>; its content was not read, and a report with no reporting period as missing date_range (no begin or end). The field is still an array of strings.

2026-11-04

  • Each entry of record_alignment in GET /reports/{id} now carries spf_fixable and dkim_fixable. spf_fixable is true when editing the domain’s own SPF could change that record’s SPF outcome: SPF did not pass and either no return-address check ran or one that aligns with the From domain failed. dkim_fixable is the same for DKIM: true when nothing was signed or a signature that aligns with the From domain failed. Both are false when the mail passed only for another domain, such as a sending service’s. The records you publish can’t change that result: the sender has to sign with your domain or use it as the return address. Clients that offer a fix per mechanism can gate on these flags. The existing spf and dkim arrays are unchanged.
  • There is a new verdict, unaligned_service. It appears in classification on GET /sources and GET /sources/{ip}, and in record_classifications on GET /reports/{id}. It marks failing mail from a recognized sending service with a clean reputation. Either the service is not set up to pass SPF or DKIM for your domain, or the mail is not yours. On GET /reports/{id} it also means the record shows no forwarding evidence. Earlier, such mail was reported as likely_forwarded. Clients that switch on the verdict should handle the new value; treating an unknown verdict like needs_review is a safe default.
  • PolicyPublished.T in GET /reports/{id} now carries the testing flag from reports in the RFC 9990 format, which name the element testing. It came back empty for those reports before, and the endpoint now returns it for reports already stored as XML too. Its description also changes: y asks receivers to apply the policy one level below the published one, and reporting is unaffected.
  • The reference now lists values these fields could already carry, passed through as the reporter sent them: pass for disposition on GET /reports/{id} and GET /sources/{ip}, policy for the SPF result, and forwarded and sampled_out for the override Type.

2026-10-27

  • Every service_name now comes with service_kind, saying what the name names: "service" for a known sending service, "operator" for a mail server named by its verified reverse-DNS domain, and "network" when only the network the address belongs to is known. GET /sources and GET /sources/{ip} can carry all three; GET /top-sources and the top_senders of GET /domains/{domain}/health name only known services and cloud networks. Treat an unknown value like "network". The source detail’s enrichment object carries the same value as sender_kind.
  • alert_type in GET /enums now lists unauthorized_source (label “Unauthorized Source”). GET /events already returned it as an event type, which the documentation reads from alert_type.
  • GET /enums lists one more value in the onboarding_source category: browser_extension, labelled “Browser extension (Chrome, Edge)”, before prefer_not_to_say and other. The reference does not document that category, and the documented categories and their shape are unchanged. As with any category, fall back to the raw code for a value your copy does not know.

2026-10-19

  • The session routes (/auth/login, /auth/register, /auth/refresh, /auth/logout, the /auth/2fa/login-* steps, passkey sign-in (/auth/passkey/options, /auth/passkey/verify), password reset, email verification and the /auth/me writes) refuse a browser request sent from a site other than the DMARCguard app with 403 and code: "cross_origin". Clients that send no Origin or Sec-Fetch-Site header, such as servers and scripts, are unaffected.

2026-10-18

  • New POST /auth/passkey/options and POST /auth/passkey/verify sign a person in with a passkey, without an email or password. An account that must use single sign-on (its domain enforces it, or single sign-on created it and still links it) is refused with 403, code: "sso_required" and the account’s email, so you can start single sign-on for it; the password sign-in’s answer for such a domain carries no code. An unverified email is refused as on POST /auth/login: 403 with {"error": "email_not_verified", ...}. Every failed assertion is the same generic 401 as a failed password sign-in; the one exception is a passkey the account no longer holds, which answers that 401 plus code: "unknown_credential" and the credential_id you sent.
  • kind ("passkey" or "security_key") is now required on POST /auth/passkeys/register/verify; it must match the options request.
  • A password sign-in response can now carry passkey_upgrade, an offer to save a passkey automatically. Ignore it if you do not support it.
  • New GET /auth/passkeys, POST /auth/passkeys/register/options, POST /auth/passkeys/register/verify, PATCH /auth/passkeys/{id} and POST /auth/passkeys/{id}/remove manage a person’s passkeys and security keys. Like every /auth/2fa/* route they are session-only: an API key is refused with 403 and code: "api_key_not_allowed".
  • New POST /auth/2fa/stepup/options starts a passkey step-up for the two-factor routes, and POST /auth/2fa/login-challenge starts a passkey ceremony at the second sign-in step (and at lost-authenticator recovery). login-challenge refuses everything it cannot trace to a live challenge with the same generic 401 as login-verify.
  • webauthn joins totp in the methods a sign-in can ask for, and login-verify and login-enroll accept method: "webauthn". Ignore a method type you do not know.
  • GET /auth/2fa/status now carries factors ("totp" and/or "webauthn") and protected (any second factor is on). enabled still means an authenticator app.
  • A change to a second factor (confirming the authenticator app on POST /auth/2fa/verify, disabling it, regenerating recovery codes, and adding, renaming or removing a passkey) now answers 401 when the request carries no live session, instead of signing the other devices out. Refresh the session and sign in again.

2026-10-17

  • POST /auth/login now answers with a status field. ok is the existing response, unchanged. An account with two-factor authentication on gets mfa_required instead, with an mfa_token, its expires_at and the methods it accepts, and no session. Ignore a method type you do not know. Dashboard sign-in is the only caller; API keys are unaffected.
  • New POST /auth/2fa/login-verify and POST /auth/2fa/login-enroll finish a sign-in or a lost-authenticator recovery. Every refusal is the same 401; an exhausted attempt budget is 429 with Retry-After.
  • Every /auth/2fa/* route is session-only: a request that authenticates with an API key is refused with 403 and code: "api_key_not_allowed".
  • POST /auth/2fa/validate is removed; login-verify replaces it.

2026-10-14

  • GET /domains: each domain now carries aprf_enabled and aprf_state (APRF performance reporting; same states as dmarc_state).
  • GET /domains/{domain}/health: new dns.aprf record status (ok, warning or unknown) and aprf_placement (APRF placement data: each provider’s, DKIM domain’s and selector’s most recent report within the last 7 UTC days, today included; an empty list when none). Each row carries the provider’s version, sdi_used and extra_info; a change of version means its categories may count different actions, so compare counts only within one version. Rows are independent measurements, so do not add them together.

2026-10-07

  • GET /domains/{domain}/health: dns.mta_sts carries an optional hosted_cta (label, url) when the domain’s MTA-STS record is missing or failing, or a hosted setup is still in progress. The url is a path on the app. The dns_mta_sts action item now links there too, and a missing record raises a low item it did not before.

2026-10-02

  • GET /reports/{id} no longer adds a parse_warnings entry for a report whose version is 1 or 0.1. Large reporters send both routinely and neither says anything about the report’s structure. Any other unexpected version is still flagged.

2026-09-19

  • GET /enums returns every category the product uses, not only the ones the reference documents. The documented categories and their shape are unchanged; read the ones your integration needs by name.

2026-09-16

  • Timestamps are RFC 3339 in UTC with whole seconds on every endpoint in the reference. A field naming a day rather than a moment is YYYY-MM-DD. An instant a reporter got wrong, one no RFC 3339 date can hold, renders null. See the conventions.
  • A request that authenticates with an API key is refused with 403 on DELETE /api-keys/{id}, matching the existing rule for creating keys: a full key gets code: "api_key_cannot_revoke", a read key is stopped earlier with permission_denied. See authentication.
  • An unknown path under the base URL returns a JSON 404 instead of an HTML page.
  • Lists in documented responses are never null; an empty list is [].
  • GET /enums returns the categories the reference documents.
  • grade documents its N/A value, returned before the first report.
  • GET /domains and GET /top-sources now return a paged envelope (total, limit, offset) instead of a bare array.
  • GET /events echoes back the limit and offset it actually applied.
  • A 403 permission denial now carries code: "permission_denied" and a required field naming the permission the key lacked. See reading a rejection.
  • GET /sources/{ip} gained spam_signals, renamed from an earlier field.
  • GET /enums is now documented in the reference.
  • A malformed from or to on GET /reports now returns 400 instead of being silently dropped.
  • The domain filter on statistics, compliance score, trends, top sources and sources is now case-insensitive, and a malformed value returns 400 instead of an empty result.
  • GET /api-keys/usage documents its 503.

Search the guides, the API reference and the learn articles.