I've added and egress ended webhook in my livekit ...
# ask-ai
b
I've added and egress ended webhook in my livekit cloud dashboard, but my app is getting a post for everything, room_created, participant_left, etc... how can I narrow down which events trigger posts?
t
To help you pinpoint which events trigger posts for your webhook, you can easily set up event filtering using the
FilterParams
settings. This way, you get to decide exactly which events you'd like to include or exclude: • Include specific events: Simply use the
include_events
field to list the events you want to receive (for example,
egress_started
,
egress_ended
). • Exclude specific events: Use the
exclude_events
field if you want to block certain events while still allowing others. Just a heads-up: if you use both fields, include events will take precedence over exclude events. You can set this up in the LiveKit Cloud dashboard under your project settings or directly in your webhook configuration for specific egress processes. Feel free to reach out if you'd like me to walk you through it or provide some examples! Sources: Webhooks | LiveKit docs | Webhook & Event System | livekit/livekit_composite | DeepWiki | Egress API | LiveKit docs | protobufs/livekit_models.proto | livekit-protocol/src/livekit.rs