Get Session Details - API
Use the following Rest API to list session details.
- cURL request
- NodeJS/JS
- Python
- Ruby
- RESULT
curl -L -X GET 'https://api.videosdk.live/v1/meeting-sessions/:id' \
-H 'Authorization: $YOUR_JWT_TOKEN'
var request = require("request");
var options = {
method: "GET",
url: "https://api.videosdk.live/v1/meeting-sessions/:id",
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/:id"
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/:id")
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
{
"id": "616e79f7ba68c7768bfd18bf",
"meetingId": "ywnm-eicr-d55x",
"chatLink" : "https://cdn.videosdk.live/chats/hq3g-ny2g-kv8x-12348924f6213b0f00a9f7a6-6169bd856790717248e86cff.csv",
"start": "2021-10-19T07:55:35.807Z",
"end": "2021-10-19T07:55:39.941Z",
"activeDuration": 0,
"participants": [
{
"participantId": "wcrkkrf4",
"name": "John Doe",
"timelog": [
{
"start": "2021-10-19T07:55:36.316Z",
"end": "2021-10-19T07:55:39.937Z"
}
]
}
]
}
Request
idoptional
string
Path Parameters
Response
__response
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