Webhooks

This guide explains how to configure and handle MiroTalk SFU webhook events such as join, exit, and disconnect.
1. Enable Webhooks
Update your .env file to activate webhooks and set your endpoint:
2. Webhook Event Structure
When an event occurs, MiroTalk SFU sends an HTTP POST request to your webhook endpoint with a JSON payload.
Sample Payload:
- event: The event type (
join,exit, ordisconnect) - data: Additional event-specific information
For a server-side example of handling webhook events, see this example.