Real-time event notifications
stream.started - Stream went livestream.ended - Stream stoppedrecording.completed - Recording readybilling.usage_updated - Usage threshold reachedRegister your webhook endpoint via the dashboard or API:
POST /api/v1/webhooks
{
"url": "https://your-server.com/webhooks/wave",
"events": ["stream.started", "stream.ended"],
"secret": "your_webhook_secret"
}
// Verify signatures using HMAC-SHA256
const signature = crypto
.createHmac('sha256', secret)
.update(JSON.stringify(payload))
.digest('hex');