Can I configure webhooks to only receive specific events?

This question originally came up in our Slack community and the thread has been consolidated here for long-term reference.

Is there a way to set LiveKit webhooks to only post to my endpoint for specific events?

For example, I’d like webhooks for just egress_ended without receiving all the other events like participant_left, track_unpublished, track_published, room_created, etc.

My Django app is a sync client dashboard for getting recordings.

No, there is no way to limit webhooks to just specific events.

The recommended approach is to:

  1. Accept all webhook events
  2. Drop the ones you’re not interested in immediately and return 200 OK
  3. Queue the events you care about for asynchronous processing

Best practice: Always return 200 OK as quickly as possible. Use a separate thread or worker to process the queued events. This prevents webhook backlog and ensures fast delivery.