Skip to main content
Send Policy Gateway events via HTTP to any endpoint — Slack, PagerDuty, Zapier, an internal service, your own log ingester.

Configure

FieldValue
TypeHTTP Webhook
URLYour endpoint, e.g. https://hooks.example.com/policy-events
HeadersMap of arbitrary headers. Put auth here (e.g. Authorization: Bearer ...). Values are masked in the console.
Verify TLSOn by default. Disable only for self-signed certs in dev/staging.
Timeout (s)Default 10

Request body

One POST per event, JSON:
{
  "event_id": "...",
  "event_type": "enforcement",
  "policy_id": "support-bot",
  "decision": "refuse",
  "effective_decision": "allow",
  "enforced": false,
  "rollout_mode": "shadow",
  "reason_code": "REFUSE",
  "policy_target": "support-bot",
  "project_id": "proj_support_bot",
  "model": "abliterated-model",
  "denylist_hits": ["competitor-x"]
}
Your endpoint should return 2xx to acknowledge. See the full field list in connectors.