Webhooks List - API
participant-joined
- This webhook is called when new participant join the meeting with following payload.
Example
{
"webhookType": "participant-joined",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "fkd74h",
"participantName": "John",
},
}
participant-left
- This webhook is called when participant left the meeting with following payload
Example
{
"webhookType": "participant-left",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "fkd74h",
"participantName": "John",
},
}
session-started
- This webhook is called when new meeting session is successfully started
Example
{
"webhookType": "session-started",
"data": {
"sessionId": "613731342f27f56e4fc4b6d0",
"meetingId": "jvsg-8rjn-j304",
"start": "2022-07-05T15:55:35.047+00:00",
},
}
session-ended
- This webhook is called when all participants lefts and meeting session is closed
Example
{
"webhookType": "session-ended",
"data": {
"sessionId": "613731342f27f56e4fc4b6d0",
"meetingId": "jvsg-8rjn-j304",
"start": "2022-07-05T15:55:35.047+00:00",
"end": "2022-07-05T15:60:35.047+00:00",
},
}
recording-starting
- A "Recording Starting" webhook is triggered when the recording process for a meeting is initiated.
Example
{
"webhookType": "recording-starting",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
},
}
recording-started
- Recording started webhook will be received when successfully recording is started in meeting
Example
{
"webhookType": "recording-started",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
},
}
recording-stopping
- A "Recording Stopping" webhook is triggered when the recording end process for a meeting is initiated.
Example
{
"webhookType": "recording-stopping",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
},
}
recording-stopped
- Recording stopped webhook will be received when recording is successfully stopped in meeting.
Example
{
"webhookType": "recording-stopped",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"filePath" : "/encoded/videos/62d148951a1eb20029fc9b05.mp4",
"fileUrl" : "https://cdn.videosdk.live/encoded/videos/62d148951a1eb20029fc9b05.mp4",
},
}
recording-failed
- A "Recording Failed" webhook is generated when the recording process encounters an interruption or issue during either the starting or stopping phases.
Example
{
"webhookType": "recording-failed",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
},
}
participant-track-recording-starting
- A "Participant Track Recording Starting" webhook is triggered when the track recording process for a participant is initiated.
Example
{
"webhookType": "participant-track-recording-starting",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "abcd",
"kind": "audio",
},
}
participant-track-recording-started
- Participant Track Recording started webhook will be received when successfully track recording is started in meeting
Example
{
"webhookType": "participant-track-recording-started",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "abcd",
"kind": "audio",
},
}
participant-track-recording-stopping
- A "Participant Track Recording Stopping" webhook is triggered when the track recording end process for a participant is initiated.
Example
{
"webhookType": "participant-track-recording-stopping",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "abcd",
"kind": "audio",
},
}
participant-track-recording-stopped
- Participant Track Recording stopped webhook will be received when track recording is successfully stopped in meeting.
Example
{
"webhookType": "participant-track-recording-stopped",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "abcd",
"kind": "audio",
"fileDetails" : [
{
"filePath" : "/encoded/videos/62d148951a1eb20029fc9b05.mp4",
"fileUrl" : "https://cdn.videosdk.live/encoded/videos/62d148951a1eb20029fc9b05.mp4",
}
]
},
}
participant-track-recording-failed
- A "Participant Track Recording Failed" webhook is generated when the track recording process encounters an interruption or issue during either the starting or stopping phases.
Example
{
"webhookType": "participant-track-recording-failed",
"data": {
"meetingId": "jvsg-8rjn-j304",
"sessionId": "613731342f27f56e4fc4b6d0",
"participantId": "abcd",
"kind": "audio",
},
}