Developer Docs
Webhooks
Configure webhooks to receive real-time event notifications from Intempt.
Webhooks
Webhooks deliver real-time notifications when events occur in your Intempt project.
Setup
Configure webhooks in Settings > Webhooks in the Intempt console.
- Add your endpoint URL
- Select the events you want to receive
- Optionally set a signing secret for verification
Event Types
| Event | Description |
|---|---|
journey.completed | A user completed a journey |
segment.entered | A user entered a segment |
segment.exited | A user exited a segment |
experiment.winner | An experiment reached statistical significance |
Payload Format
\{
"event": "segment.entered",
"timestamp": "2026-01-15T10:30:00Z",
"data": \{
"segmentId": "seg_abc123",
"segmentName": "High Value Customers",
"userId": "user_xyz789"
\}
\}Verification
If you configured a signing secret, verify the X-Intempt-Signature header:
const crypto = require('crypto');
function verifyWebhook(payload, signature, secret) \{
const expected = crypto
.createHmac('sha256', secret)
.update(payload)
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(signature),
Buffer.from(expected)
);
\}Event Schema Overview
Intempt's event-centric data model: event structure, required fields, attribute schemas, and product catalog schema.
All About Webhooks
How Intempt's Journey-driven webhooks send outbound HTTP requests to your systems, the destination config schema, authentication, and retry behavior for failed deliveries.
