Skip to main content

Webhooks

Real-time notifications for RegPilot events.
Webhook support is coming soon in Q1 2026. This documentation describes the planned implementation.

Overview

Webhooks allow you to receive real-time notifications when events occur in RegPilot.

Supported Events

Alert Events

  • alert.created - New alert triggered
  • alert.acknowledged - Alert acknowledged by user
  • alert.resolved - Alert marked as resolved

Case Events

  • case.created - New case opened
  • case.updated - Case status changed
  • case.resolved - Case closed

Compliance Events

  • violation.detected - New violation found
  • violation.resolved - Violation fixed
  • compliance.score_changed - Compliance score updated

Usage Events

  • usage.threshold_reached - Credit usage milestone
  • usage.limit_exceeded - Credit limit hit

Setup (Coming Soon)

Register Webhook

Webhook Payload

Example Payloads

alert.created:
violation.detected:

Receiving Webhooks

Basic Handler

Express Handler

Signature Verification

Best Practices

1. Verify Signatures

Always verify webhook signatures to ensure authenticity:

2. Respond Quickly

Return 200 OK immediately, process asynchronously:

3. Handle Retries

RegPilot will retry failed webhooks:
  • Retry Schedule: 1min, 5min, 15min, 1hr, 6hr
  • Max Attempts: 5
  • Status Codes: 200-299 considered success

4. Idempotency

Handle duplicate deliveries:

Testing

Local Testing with ngrok

Test Event (Coming Soon)

Management

List Webhooks

Update Webhook

Delete Webhook


Status: Coming Q1 2026
Contact: webhooks@regpilot.dev for early access
Related: Best Practices | Troubleshooting