Overview
Stratus subscriptions deliver events via webhooks, enabling your systems to respond immediately to key events. This guide explains how to set up and validate webhook notifications. Webhooks are triggered by a scheduled job that runs every minute. During each run, Stratus processes all recent changes recorded since the previous run. Once updates are batched and applied, webhook events are dispatched to all destinations subscribed to the affected resources. This ensures near real-time delivery without missing intermediate updates.Getting Started
1
Enable Webhooks
Toggle webhooks within your subscription settings
2
Configure Endpoint
Provide the URL where your system will accept POST requests
3
Store Signing Key
Save the
Signing Key from your subscription settings for payload validationImplementation Guide
Webhook Validation
Each webhook payload includes a signature header (
x-signature) that should be validated to ensure authenticity.Important Considerations
Batching
Multiple events may be batched into a single webhook payload
Retry Logic
Failed webhooks are retried exponentially up to five times
Security
Always validate webhook signatures using your WEBHOOK_SECRET