You can use the Web Hooks to send events from Flagsmith into your own infrastructure. Web Hooks are managed at an Environment level, and can be configured in the Environment settings page.
Currently the following events will generate a Web Hook action:
- Creating Features (Sent as event_type
- Updating Feature value / state in an Environment (Sent as event_type
- Overriding a Feature for an Identity (Sent as event_type
- Overriding a Feature for a Segment (Sent as event_type
You can define any number of Web Hook endpoints per Environment. Web Hooks can be managed from the Environment settings page.
A typical use case for Web Hooks is if you want to cache flag state locally within your server environment.
Each event generates an HTTP POST with the following body payload to each of the Web Hooks defined within that Environment:
You can use Audit Log Webhooks to stream your Organisation's Audit Log into your own infrastructure. This can be useful for compliance or to reference against local CI/CD infrastructure.