List monitored domains with curl
Use a customer programmatic API key for scripts or automation tools.
curl -sS -H "X-DomainGuard-Key: dgmon_..." https://api.zeah.ai/api/public/domain-monitor/domainsDomainGuard Monitor · Integration recipes
DomainGuard Monitor exposes customer APIs plus signed HTTPS webhooks. The examples below show how a monitoring event can become a ticket, automation step, script input or dashboard signal without giving another system access to the underlying Zeah host.
Use a customer programmatic API key for scripts or automation tools.
curl -sS -H "X-DomainGuard-Key: dgmon_..." https://api.zeah.ai/api/public/domain-monitor/domainsUseful for MSP automation, scheduled jobs or a lightweight internal dashboard.
$headers = @{ "X-DomainGuard-Key" = "dgmon_..." }
$status = Invoke-RestMethod -Uri "https://api.zeah.ai/api/public/domain-monitor/status" -Headers $headers
$status.account
$status.average_score
$status.events_last_7dOnly change events are returned here; routine stable rescans stay in history without creating noise.
import requests
headers = {"X-DomainGuard-Key": "dgmon_..."}
r = requests.get(
"https://api.zeah.ai/api/public/domain-monitor/events",
headers=headers,
timeout=15,
)
r.raise_for_status()
for event in r.json()["events"]:
print(event["severity"], event["domain"], event["summary"])Webhook receivers should verify the timestamped HMAC signature before creating a ticket or triggering automation.
import hashlib, hmac
signed = timestamp + "." + raw_body.decode()
expected = "v1=" + hmac.new(
verification_secret.encode(),
signed.encode(),
hashlib.sha256,
).hexdigest()
if not hmac.compare_digest(expected, signature_header):
raise ValueError("Invalid DomainGuard signature")MSP automation patterns
The webhook payload includes the affected domain, severity, old/new score and individual changes. A receiver decides what should happen next.