Webhook event
The event envelope and data sent to your receiver.
On this page
Envelope
| Field | Type | Meaning |
|---|---|---|
| id | string | Stable event ID. Use it to deduplicate processing. |
| type | string | One of the supported events below. |
| projectId | string | Owning project. |
| environmentId | string | Owning environment. |
| occurredAt | ISO datetime | Event time in UTC. |
| data | JSON object | Fields specific to the event. |
{
"id": "event_example",
"type": "participant.joined",
"projectId": "project_example",
"environmentId": "environment_example",
"occurredAt": "2026-01-01T12:00:00.000Z",
"data": {
"roomId": "room_example",
"participantId": "participant_example",
"sessionId": "session_example",
"boundary": "observed"
}
}Event types
| Event | When it is emitted | Data |
|---|---|---|
| room.created | A room is created. | roomId and boundary. |
| room.started | The room lifecycle records its start. | roomId and boundary. |
| room.ended | The room lifecycle records its end. | roomId and boundary. |
| participant.joined | A participant establishes their first signaling connection. | roomId, participantId, sessionId and boundary. |
| participant.left | The participant lifecycle records a departure. | roomId, participantId, boundary and sessionId when available. |
| participant.reconnected | The same session establishes another signaling connection. | roomId, participantId, sessionId and boundary. |
| track.published | A media publication is created. | roomId and track. |
| track.unpublished | A media publication is removed. | roomId and track. |
| connection.degraded | Quality moves from excellent/good to poor/critical/lost. | roomId, participantId, previousQuality and quality. |
| connection.recovered | Quality moves from poor/critical/lost to excellent/good. | roomId, participantId, previousQuality and quality. |
Lifecycle boundary is observed or lease_bound. A lease-bound event uses the service lease boundary when an exact disconnect time is unavailable.
Streaming and asset event types
These subscription literals require an API release containing the corresponding resource family and a matching SDK event catalog. The package available from npm may expose an older catalog. Resource-specific lifecycle and access requirements remain in the linked references.
Stream sources
stream.created, stream.starting, stream.live, stream.reconnecting, stream.ended, stream.failed.
See stream sources.
Broadcast runs
broadcast.created, broadcast.starting, broadcast.live, broadcast.reconnecting, broadcast.output_degraded, broadcast.stopped, broadcast.failed.
See broadcast runs.
Destinations
destination.created, destination.connected, destination.disconnected, destination.retrying, destination.failed.
See destinations.
Recordings
recording.started, recording.segment_committed, recording.finalizing, recording.ready, recording.failed, recording.deleted.
See recordings.
Scheduled broadcasts
schedule.created, schedule.updated, schedule.starting, schedule.started, schedule.missed, schedule.cancelled, schedule.failed, schedule.completed, schedule.reminder.
See scheduled broadcasts.
External sources
restream.probing, restream.source_connected, restream.source_lost, restream.recovering, restream.stopped, restream.failed.
See external sources.
Clips
clip.requested, clip.rendering, clip.ready, clip.failed, clip.deleted.
See clips.
Mixers
mixer.started, mixer.scene_activated, mixer.source_lost, mixer.overloaded, mixer.stopped, mixer.failed.
See mixers.
DVR
dvr.enabled, dvr.window_changed, dvr.segment_evicted, dvr.disabled.
See dvr.
Stream guests
stream.guest.invited, stream.guest.invite_accepted, stream.guest.invite_declined, stream.guest.requested, stream.guest.request_approved, stream.guest.request_rejected, stream.guest.joined, stream.guest.left, stream.guest.removed, stream.guest.muted, stream.guest.invite_expired, stream.guest.invite_cancelled, stream.guest.grant_revoked.
See stream guests.
Track fields
The track object contains id, roomId, participantId, sessionId, type, state, priority, metadata, publishedAt and unpublishedAt. The last field is null until the track is unpublished.
Supported room media types are audio, camera_video, screen_video and screen_audio. Track states are published, paused, resumed and unpublished. Room mute/unmute controls request server publication pause/resume and remote subscribers receive the resulting signaling track updates. These signaling updates are distinct from webhook subscriptions: the webhook event catalog includes track.published and track.unpublished, not track.paused or track.resumed.
Delivery and replay
The event ID and body stay the same across retries and explicit replay. The signed timestamp and replay count identify the delivery attempt context. Delivery order is not guaranteed.
Verify the signature before processing. Subscribe only to events your receiver handles, and store the event ID with its processing result.