How Webhooks Work
- You register a webhook endpoint URL
- When an event occurs, Gately sends an HTTP POST request to your URL
- Your server processes the event and returns a 200 response
Creating a Webhook
Via Dashboard
- Navigate to Webhooks in your dashboard
- Click Create Webhook
- Enter your endpoint URL
- Select the events you want to receive
- Click Create
Via API
Webhook Payload
All webhook payloads include:Security
Signature Verification
All webhooks include a signature header for verification:Best Practices
- Always verify webhook signatures
- Use HTTPS endpoints only
- Respond quickly (within 30 seconds)
- Process events asynchronously
- Handle duplicate events idempotently
Retry Policy
Failed webhook deliveries are retried with exponential backoff:| Attempt | Delay |
|---|---|
| 1 | Immediate |
| 2 | 1 minute |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
