webhooks
array which will contain data structures formatted like the following:url
- The URL where the data will be sent.event_types
- An array of strings with the events that will trigger the webhook.event_types
can be one of the following:client_event
channel_occupied
channel_vacated
member_added
member_removed
events
looks like this:event_types
, but for all channels. In some situations, you may want to receive webhooks for specific channels, to simply reduce the network usage.AND
logic. To filter them by another logical gate like OR
, consider filtering most of the events by passing the filters
object and consider modifying your webhook server's code to filter them further.WEBHOOKS_BATCHING
environment variable:50
ms by default. On receiving an event, it waits 50 ms before sending the webhook. In those 50 ms, more events can come and build up. Once the 50 ms mark was reached, the events are being sent in one request.