Skip to main content

GET : API to Get all Meeting Sessions


GET
    https://<appname>.metered.live/api/v1/room/{roomName}/meetingsessions

<appname> - replace it the name of your app.

<roomName> - The name of the room that you want to Get all the meeting sessions from

Description

This endpoint allows you to GET all meeting sessions

Parameters

ParametersDescriptionRequiredOptions
Query
secretKeystringyour secret keyyes-
roomNamestringname of the room you want to fetchyes-

Request Samples

cURL
curl --request GET \
--url 'https://appname.metered.live/api/v1/room/roomName/meetingsessions?secretKey={replace_this_with_your_secretKey}' \
--header 'Accept: application/json'

Responses

200
value: {
"pages": 4,
"limit": 10,
"skip": 0,
"data": [{
"_id": "61032daed4fc2c6cd0ccff63",
"app": "6071e1de0a0218674134a24e",
"room": "60eef8020e3b10094cf4c9de",
"startTime": 1627598254,
"state": "ended",
"endTime": 1627598896,
"participantSessions": [{
"_id": "610330567f51a46d7c72a010",
"authenticatedUsingToken": true,
"isAdmin": false,
"lang": "en",
"joinVideoOn": true,
"joinAudioOn": true,
"disableVideo": false,
"disableAudio": false,
"disableScreenSharing": false,
"app": "6071e1de0a0218674134a24e",
"joinTime": 1627598934,
"state": "exited",
"browser": "Chrome",
"browserVersion": "92.0.4515.107",
"os": "Windows",
"meetingSession": "61032daed4fc2c6cd0ccff63",
"room": "60eef8020e3b10094cf4c9de",
"name": "tom",
"externalUserId": "100",
"email": "test@example.com",
"leftTime": 1627599054
}, {
"_id": "6103301d7f51a46d7c72a00f",
"authenticatedUsingToken": true,
"isAdmin": false,
"lang": "en",
"joinVideoOn": true,
"joinAudioOn": true,
"disableVideo": false,
"disableAudio": false,
"disableScreenSharing": false,
"app": "6071e1de0a0218674134a24e",
"joinTime": 1627598877,
"state": "exited",
"browser": "Chrome",
"browserVersion": "92.0.4515.107",
"os": "Windows",
"meetingSession": "61032daed4fc2c6cd0ccff63",
"room": "60eef8020e3b10094cf4c9de",
"name": "tom",
"externalUserId": "100",
"email": "test@example.com",
"leftTime": 1627599057
}]
}, {
"_id": "61032d430396b56c68895374",
"app": "6071e1de0a0218674134a24e",
"room": "60eef8020e3b10094cf4c9de",
"startTime": 1627598147,
"state": "ended",
"endTime": 1627598147,
"participantSessions": []
}, {
"_id": "61032c3281a1866ba94b31f7",
"app": "6071e1de0a0218674134a24e",
"room": "60eef8020e3b10094cf4c9de",
"startTime": 1627597874,
"state": "ended",
"endTime": 1627597934,
"participantSessions": [{
"_id": "61032c3281a1866ba94b31f8",
"authenticatedUsingToken": false,
"isAdmin": false,
"lang": "en",
"joinVideoOn": true,
"joinAudioOn": true,
"disableVideo": false,
"disableAudio": false,
"disableScreenSharing": false,
"app": "6071e1de0a0218674134a24e",
"joinTime": 1627597874,
"state": "exited",
"browser": "Chrome",
"browserVersion": "92.0.4515.107",
"os": "Windows",
"meetingSession": "61032c3281a1866ba94b31f7",
"room": "60eef8020e3b10094cf4c9de",
"leftTime": 1627597912
}]
},
{
"_id": "6102ce963d73a30be6372dd1",
"authenticatedUsingToken": false,
"isAdmin": false,
"lang": "en",
"joinVideoOn": true,
"joinAudioOn": true,
"disableVideo": false,
"disableAudio": false,
"disableScreenSharing": false,
"app": "6071e1de0a0218674134a24e",
"joinTime": 1627573910,
"state": "exited",
"browser": "Chrome",
"browserVersion": "92.0.4515.107",
"os": "Windows",
"meetingSession": "6102ce963d73a30be6372dd0",
"room": "60eef8020e3b10094cf4c9de",
"name": "mr-1627573909994",
"leftTime": 1627573939
}
]
}, {
"_id": "6102cb06519f0409cc340528",
"authenticatedUsingToken": false,
"isAdmin": false,
"lang": "en",
"joinVideoOn": true,
"joinAudioOn": true,
"disableVideo": false,
"disableAudio": false,
"disableScreenSharing": false,
"app": "6071e1de0a0218674134a24e",
"joinTime": 1627572998,
"state": "exited",
"browser": "Chrome",
"browserVersion": "92.0.4515.107",
"os": "Windows",
"meetingSession": "6102cb06519f0409cc340527",
"room": "60eef8020e3b10094cf4c9de",
"name": "mr-1627572998120",
"leftTime": 1627573209
}]
}

400
{
"message": "Invalid request"
}