List Meeting Sessions - API
Use the following Rest API to list meeting sessions.
- cURL request
- NodeJS/JS
- Python
- Ruby
- RESULT
curl -L -X GET 'https://api.videosdk.live/v1/meeting-sessions' \
-H 'Authorization: $YOUR_JWT_TOKEN'
var request = require("request");
var options = {
method: "GET",
url: "https://api.videosdk.live/v1/meeting-sessions",
headers: {
Authorization: "$YOUR_JWT_TOKEN",
},
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
import requests
url = "https://api.videosdk.live/v1/meeting-sessions"
headers = {
'Authorization': '$YOUR_JWT_TOKEN'
}
response = requests.request("GET", url, headers=headers)
print(response.text)
require "uri"
require "net/http"
url = URI("https://api.videosdk.live/v1/meeting-sessions")
https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = "$YOUR_JWT_TOKEN"
response = https.request(request)
puts response.read_body
{
"pageInfo": {
"currentPage": 1,
"perPage": 20,
"lastPage": 1,
"total": 8
},
"data": [
{
"id": "616e79f7ba68c7768bfd18bf",
"meetingId": "ywnm-eicr-d55x",
"start": "2021-10-19T07:55:35.807Z",
"end": "2021-10-19T07:55:39.941Z",
"chatLink" : "https://cdn.videosdk.live/chats/hq3g-ny2g-kv8x-12348924f6213b0f00a9f7a6-6169bd856790717248e86cff.csv",
"activeDuration": 0,
"participants": [
{
"participantId": "wcrkkrf4",
"name": "John Doe",
"timelog": [
{
"start": "2021-10-19T07:55:36.316Z",
"end": "2021-10-19T07:55:39.937Z"
}
]
}
]
}
Request
pageoptional
string
perPageoptional
string
meetingIdoptional
string
Query Parameters
Response
__response
object
pageInfo
object
currentPage
number
perPage
number
lastPage
number
data
Array<object>
id
string
meetingId
string
chatLink
string
start
date
end
date
activeDuration
number
participants
Array<object>
participantId
string
name
string
timelog
Array<object>
start
date
end
date
Properties
Got a Question? Ask us on discord