Alert Webhooks
As well as email, an alert can be sent to your own endpoint as a webhook. Each time the alert triggers, DMARC Manager sends a JSON POST request to the webhook you selected.
Adding a webhook to an alert
In the Channels step of the Create Alert or Edit Alert page, turn on Webhook and choose a Destination. If you don't have a webhook yet, select Create webhook and fill in:
| Field | Description |
|---|---|
| Name | A label for the webhook, shown when choosing a destination. |
| Endpoint URL | Must be a public HTTPS URL. It's stored encrypted and only the host is shown after saving. |
| Signing secret | Optional, at least 16 characters. Each request is signed with this secret so you can verify it's genuine. |
Request format
Every webhook request is an HTTP POST with a JSON body and these headers:
| Header | Description |
|---|---|
Content-Type | Always application/json. |
Webhook-Id | A unique ID for the delivery. Use it to ignore duplicate deliveries. |
Signature | Only sent when the webhook has a signing secret. See Verifying the signature. |
Every request body has the same envelope. Only the contents of data change between alerts:
{
"event": "domain-score-change",
"alert_uuid": "0195f3a2-7c1e-7d40-9b6a-2f8e4c1d5a90",
"sent_at": "2026-11-26T09:30:00+00:00",
"data": { }
}| Field | Type | Description |
|---|---|---|
event | string | The alert type that triggered. See Payloads by event. |
alert_uuid | string | The UUID of the alert that sent the request. |
sent_at | string | When the request was created, in ISO 8601 format. |
data | object | The event-specific payload. |
Verifying the signature
If the webhook has a signing secret, the Signature header contains a hex-encoded HMAC-SHA256 of the raw request body, using the secret as the key. Compute the same value over the body exactly as received (before parsing the JSON) and compare it to the header using a constant-time comparison.
const crypto = require('crypto');
const expected = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
const valid = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signatureHeader));Delivery and retries
- Your endpoint must respond with a
2xxstatus within 3 seconds. - Redirects are not followed.
- A failed delivery is attempted up to 3 times in total, waiting 10 seconds before the second attempt and 100 seconds before the third.
- The same delivery keeps its
Webhook-Idacross retries.
Common objects
Several payloads share the following objects.
Domain
| Field | Type | Description |
|---|---|---|
uuid | string | The domain's UUID. |
domain_name | string | The domain name, for example acme.com. |
Account
| Field | Type | Description |
|---|---|---|
uuid | string | The account's UUID. |
name | string | The account name. |
Sender
| Field | Type | Description |
|---|---|---|
uuid | string | The sender's UUID. |
organization | string | The organization that operates the sender, for example Google. |
service | string | The sending service, for example Google Workspace. |
Payloads by event
| Category | Activity | event |
|---|---|---|
| Status | DMARC Compliance Score Changed | domain-score-change |
| Status | Verification Status Changed | dns-delegation-verified |
| Status | Setup Re-Verification Failed | dns-delegation-unverified |
| Status | Received First Report | domain-received-first-report |
| Configuration | Changes to Settings | domain-settings-change |
| Mail Senders | Compliance Dropped | domain-compliance-drop |
| Mail Senders | Approved Sender Found | typically-authorized-sender-found |
| Reports | Exposure Report | customer-exposure-report |
| Actions Required | New Action Created | task-created |
| Actions Required | Action Required Reminder | customer-task-reminder |
Note: Other activities are sent by email only. If you turn on a webhook for them, no webhook request is sent.
domain-score-change
Sent when a domain's DMARC Compliance Score changes.
{
"domain": { "uuid": "0195f3a2-6b10-7a2c-8e41-3c9d7f2a1b05", "domain_name": "acme.com" },
"previous_score": 64,
"current_score": 82
}| Field | Type | Description |
|---|---|---|
domain | Domain | The domain whose score changed. |
previous_score | integer | The score before the change. |
current_score | integer or null | The new score. null if the domain no longer has a score. |
dns-delegation-verified and dns-delegation-unverified
Sent when DNS delegation verification passes (dns-delegation-verified) or when re-verification fails (dns-delegation-unverified). Both events use the same payload.
{
"domain": { "uuid": "0195f3a2-6b10-7a2c-8e41-3c9d7f2a1b05", "domain_name": "acme.com" },
"verification_uuid": "0195f3a2-6c44-7f19-a2d3-8b5e1f0c7d62",
"verification_type": "dmarc",
"status": "completed"
}| Field | Type | Description |
|---|---|---|
domain | Domain | The domain that was verified. |
verification_uuid | string | The UUID of the verification. |
verification_type | string | The record that was verified: dmarc, spf, dkim, bimi, tlsrpt, mta-sts or mta-sts-policy. |
status | string | The verification status: pending, in-progress or completed. |
domain-received-first-report
Sent when a domain receives its first DMARC report.
{
"domain": { "uuid": "0195f3a2-6b10-7a2c-8e41-3c9d7f2a1b05", "domain_name": "acme.com" },
"first_report_date": "2026-11-25"
}| Field | Type | Description |
|---|---|---|
domain | Domain | The domain that received the report. |
first_report_date | string or null | The date of the first report, in YYYY-MM-DD format. |
domain-settings-change
Sent when settings on a domain are changed. A single request can contain several changes.
{
"domain": { "uuid": "0195f3a2-6b10-7a2c-8e41-3c9d7f2a1b05", "domain_name": "acme.com" },
"changes": [
{
"setting": "dmarc_settings",
"event": "updated",
"changed_at": "2026-11-26T09:12:44+00:00",
"old": { "policy": "none" },
"new": { "policy": "quarantine" }
}
]
}| Field | Type | Description |
|---|---|---|
domain | Domain | The domain whose settings changed. |
changes | array | One entry per change, described below. |
changes[].setting | string or null | The area that changed: domain, dmarc_settings, spf_settings, spf_directives, dkim_settings, dkim_public_keys, bimi_settings, mta_settings, tls_settings, domain_sender or dns_delegation_verification. |
changes[].event | string | created, updated or deleted. |
changes[].changed_at | string or null | When the change was made, in ISO 8601 format. |
changes[].old | object | The changed fields and their previous values. Empty for created. |
changes[].new | object | The changed fields and their new values. Empty for deleted. |
The fields inside old and new depend on the setting that changed.
domain-compliance-drop and typically-authorized-sender-found
Sent when a sender's compliance drops below the alert's Compliance Threshold (domain-compliance-drop), or when a new, commonly approved sender is detected (typically-authorized-sender-found). Both events use the same payload.
{
"domain": { "uuid": "0195f3a2-6b10-7a2c-8e41-3c9d7f2a1b05", "domain_name": "acme.com" },
"sender": {
"uuid": "0195f3a2-6d88-7b31-9c05-4e2a8f6b1d17",
"organization": "Google",
"service": "Google Workspace"
},
"total_incidents": 1200,
"total_complete_failures": 300
}| Field | Type | Description |
|---|---|---|
domain | Domain | The domain the sender sends on behalf of. |
sender | Sender | The sender. |
total_incidents | integer | The total number of messages seen from the sender. |
total_complete_failures | integer | The number of those messages that failed authentication completely. |
Compliance is (total_incidents - total_complete_failures) / total_incidents. In the example above, compliance is 75%.
customer-exposure-report
Sent on the alert's schedule with a link to the Exposure Report for each domain that is receiving reports.
{
"customer": { "uuid": "0195f3a2-5a01-7c3e-b2d4-6f1a9e8c3b40", "name": "Acme Corp" },
"reports": [
{ "domain_name": "acme.com", "url": "https://app.example.com/exposure-report/..." }
]
}| Field | Type | Description |
|---|---|---|
customer | Account | The account the reports are for. |
reports | array | One entry per domain. |
reports[].domain_name | string | The domain name. |
reports[].url | string | A link to the domain's Exposure Report. The link is signed and expires, so don't store it for later use. |
task-created
Sent when a new action is required on a domain.
{
"uuid": "0195f3a2-7e52-7a90-8d14-1b6c3f9e2a77",
"type": "domain_verify_dmarc",
"priority": "high",
"status": "pending",
"taskable_uuid": "0195f3a2-6b10-7a2c-8e41-3c9d7f2a1b05"
}| Field | Type | Description |
|---|---|---|
uuid | string | The action's UUID. |
type | string | The kind of action, for example domain_verify_dmarc or domain_spf_fix_directives. |
priority | string | low, medium, high or critical. |
status | string | pending, in_progress, completed or cancelled. |
taskable_uuid | string | The UUID of the domain the action belongs to. |
customer-task-reminder
Sent on the alert's schedule with the number of open actions on each domain. It is only sent when at least one domain has an open action.
{
"customer": { "uuid": "0195f3a2-5a01-7c3e-b2d4-6f1a9e8c3b40", "name": "Acme Corp" },
"frequency": "weekly",
"domains": [
{
"domain_name": "acme.com",
"counts": { "CRITICAL": 1, "HIGH": 2, "MEDIUM": 0, "LOW": 3 }
}
]
}| Field | Type | Description |
|---|---|---|
customer | Account | The account the reminder is for. |
frequency | string | The alert's frequency: immediate, hourly, daily, weekly, fortnightly, monthly, two_monthly, quarterly, six_monthly or yearly. |
domains | array | One entry per domain with open actions, sorted by domain name. |
domains[].domain_name | string | The domain name. |
domains[].counts | object | The number of open actions by priority. Always contains CRITICAL, HIGH, MEDIUM and LOW, including zero counts. |
Open actions are those with a status of pending or in_progress.