What webhooks do
When a webhook is configured for an event, Omneo sends an HTTP POST request to the specified URL every time that event fires. The request body contains the Event Context for that event type.Common webhook events
| Event | Description |
|---|---|
profile.created | A new profile was created |
profile.updated | A profile’s data changed |
transaction.created | A new transaction was recorded |
reward.created | A reward was issued to a profile |
benefit.created | A benefit was issued to a profile |
tier.achieved | A profile achieved a new tier |
profile.merged | Two profiles were merged |
Webhook payload
The webhook body is the Event Context for the triggering event. Contexts include additional data beyond the standard API response, for example, a transaction context includes the profile’s aggregations and current incentive state, reducing the need for callback calls to fetch additional data.Configuring webhooks
Webhooks are configured in CX Manager under Settings > Webhooks, or via the Webhooks API. Each webhook requires:- URL: the endpoint to receive the POST request
- Events: which events to subscribe to
Webhooks vs Targets
| Webhooks | Targets | |
|---|---|---|
| Payload format | Standard Omneo Event Context | Custom Twig template |
| Primary use | System-to-system sync | Formatted comms platform data |
| Invocation | Automatic on configured events | Via reaction action (target.send) |