Skip to main content

Register a webhook

The response includes a signingSecretsave it immediately, it is returned once only.

Available events


Event payload shape

All events share this envelope:

Verifying the signature

Every request from Torpedo includes an X-Signature header:
Verify it to confirm the request is genuine:
Always verify the signature before processing webhook payloads. Use timing-safe comparison (timingSafeEqual, hmac.Equal, CryptographicOperations.FixedTimeEquals) to prevent timing attacks — never use plain string equality.

Delivery retries

Torpedo retries failed webhook deliveries with exponential backoff. Your endpoint should:
  • Return 2xx within 5 seconds
  • Be idempotent — the same event may be delivered more than once
View delivery history via GET /api/v1/webhooks/{id}/deliveries.