Skip to main content

Webhook Endpoints

Each organization can configure multiple endpoints to receive event notifications.

Endpoint Fields

FieldDescription
URLHTTPS address that will receive notifications
DescriptionEndpoint description (max 255 characters)
EventsList of subscribed event types
SecretHMAC-SHA256 key for signature validation
ActiveWhether the endpoint is enabled

Creating an Endpoint

Upon creation, the system automatically generates a secret (whsec_...) that is shown only at creation time. Store it securely — it is required to validate webhook signatures.

Webhook Signature

Each delivery includes a signature header:

X-Webhook-Signature: t=<timestamp>,v1=<sha256_hex>

Verification

  1. Extract the timestamp and signature from the header
  2. Reconstruct: $\{timestamp\}.$\{payload_json\}
  3. Compute HMAC-SHA256 using the secret
  4. Compare with the signature (timing-safe comparison)

Secret Rotation

When you suspect the secret has been compromised, use secret rotation. A new secret is generated and the previous one is invalidated immediately.

Webhook Test

Send a test payload to verify that the endpoint is configured correctly. The result includes the HTTP status and the received response.

Automatic Deactivation

After 10 consecutive delivery failures, the endpoint is automatically deactivated. To reactivate, fix the issue and update the endpoint to active.

SSRF Protection

URLs are validated to reject private IPs and localhost, preventing Server-Side Request Forgery attacks.