List Meetings
Use the following Rest API to list meetings.
- cURL request
- NodeJS/JS
- Python
- Ruby
- RESULT
curl -L -X GET 'https://api.videosdk.live/v1/meetings' \
-H 'Authorization: $YOUR_JWT_TOKEN'
var request = require("request");
var options = {
method: "GET",
url: "https://api.videosdk.live/v1/meetings",
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/meetings"
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/meetings")
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": 4,
"total": 65
},
"data": [
{
"meetingId": "yw3w-nfzh-9jl0",
"userId": "5fa671e77b80d58c11cbca95",
"createdAt": "2021-06-18T08:10:46.683Z",
"updatedAt": "2021-06-18T08:10:46.683Z",
"id": "60cc550656592b6a03d7a2d0"
},
...
]
}
Request
pageoptional
string
perPageoptional
string
Query Parameters
Response
__response
object
pageInfo
object
currentPage
number
perPage
number
lastPage
number
data
Array<object>
meetingId
string
userId
string
user
object
name
string
id
string
createdAt
date
updatedAt
date
id
string
Properties
Got a Question? Ask us on discord