Watch Domain for Changes
watch_domainSchedule daily re-checks of a domain's email posture and technology stack, then get alerts when DMARC, SPF, DKIM, MX, score, or tools change. Optionally push signed webhook alerts.
Instructions
Re-check a domain every 24 hour(s) and raise an alert when its email posture (DMARC or SPF weakened, DKIM key lost, MX provider changed, score drop...) or technology stack (tool added or removed) changes. Alerts are read with get_alerts and can also be pushed to a signed webhook. Watching a domain again updates its checks and webhook. Plan keys include a number of watched domains; prepaid callers pay 1 credit(s) per scheduled check, and a watch pauses (with an alert) when the balance runs out and resumes after a top-up. Watching itself is free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | What to re-check on schedule. | |
| domain | Yes | Domain to inspect. Accepts a bare hostname ("example.com"), a URL ("https://www.example.com/pricing") or an email address ("jane@example.com"). Scheme, path, port and query are stripped; IDN names are accepted. | |
| webhookUrl | No | Optional https URL that receives each batch of alerts as a signed POST (header x-stackdns-signature: t=<unix>,v1=<hex HMAC-SHA256 of `${t}.${body}`>). Omit to use get_alerts only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| watch | Yes | ||
| billing | Yes | ||
| created | Yes | ||
| watchLimit | Yes | ||
| webhookSecret | Yes | Signing secret for webhook deliveries, shown only when the watch is created. Store it now. |