An Event Context is the payload Omneo provides when an event fires — via a webhook or a reaction. It differs from a standard API response in that it includes enriched, related data alongside the triggering object to minimise the need for additional API calls.Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
Why contexts are different from API responses
A standardGET /api/v3/profiles/{id} response returns the profile object. The profile event context returned by a profile.updated webhook also includes:
- Aggregations (
spend_12m,shop_count, etc.) flattened_tags(tags as a flat array for easier JSON Logic evaluation)flattened_statuses- Current tier and tier definition
- Profile attribute objects (comms, appearance)
Profile event context
Fields available at root level (accessed directly asfirst_name, not profile.first_name):
Transaction event context
Fortransaction.created and transaction.updated events, the context includes the transaction and the linked profile:
Tier achieved context
Fortier.achieved events, the context includes the profile and the tier definition that was achieved:
Using contexts in reactions
All fields in an event context are available as variables in reaction filters and target templates. See JSON Conditions for how to reference them.Context vs API response
If you need data not included in the context (e.g., full address list, complete transaction history), make a follow-up API call using theprofile_id from the context.