Skip to content

Webhooks API

Configure webhooks for real-time notifications.

Create Webhook

POST /v1/webhooks

Request Body:

{
  "url": "https://your-server.com/webhook",
  "events": ["email.received", "threat.detected"],
  "secret": "your-secret-key"
}

Webhook Events

Event Description
email.received New email received
threat.detected Threat detected
pattern.detected Pattern detected
system.alert System alert

Verify Webhook Signature

signature=$(echo -n "$payload" | openssl dgst -sha256 -hmac "$secret" -binary | base64)

Support