statsig · AsyncAPI Specification
Statsig Webhook Events
Version 1.0.0
Statsig's webhook system provides real-time event-driven notifications for exposure events and configuration changes. Webhooks are triggered at runtime as users are assigned to gates and experiments, and events are sent in batches in JSON format. Two main types of events are supported: Exposures (events logged via the SDK such as gate checks and experiment evaluations) and Config Changes (changelogs for Statsig Console actions). Webhook delivery includes signature verification for security using HMAC-SHA256.
Channels
/webhook
Receive webhook event batches
Channel for receiving batched event notifications from Statsig. Events are sent as HTTP POST requests with JSON payloads. The channel supports event filtering to control which event types are forwarded.
Messages
ExposureEvent
Exposure Event
An exposure event triggered when a user is evaluated against a gate, experiment, or dynamic config via the SDK.
ConfigChangeEvent
Config Change Event
A configuration change event triggered when a gate, experiment, dynamic config, or other entity is created, updated, or deleted through the Statsig Console or API.
EventBatch
Event Batch
A batch of events containing one or more exposure or config change events sent together for efficiency.
Servers
https
webhookReceiver
{webhookUrl}
Your webhook receiver endpoint configured in Statsig integration settings. Statsig sends HTTP POST requests to this URL with batched event payloads.