Skip to main content
Version: /v2

Fetch all Composite Recording - API

This API lets you fetch details of your composite recording by passing roomId, sessionId as query parameters.

HTTP method and endpoint

GET

|

https://api.videosdk.live/v2/recordings/composite
Headers Parameters

values : YOUR_TOKEN_WITHOUT_ANY_PREFIX

This will be a JWT token generate using VideoSDK ApiKey and Secret.

Note that the token will not include any prefix such as "Basic " or "Bearer ". Just pass a token as value.

You can generate a new token by refering this Guide: Generate Auth token

Query Parameters
REQUIRED

The ID of the Room.

OPTIONAL

The ID of the Session.

OPTIONAL

defaultValue : 1

Page number for the participant recording

OPTIONAL

defaultValue : 20

Number of participant recordings you want per page.

GET
|
https://api.videosdk.live/v2/recordings/composite
import fetch from 'node-fetch';
const options = {
method: "GET",
headers: {
"Authorization": "$YOUR_TOKEN",
"Content-Type": "application/json",
},
};
const url= `https://api.videosdk.live/v2/recordings/composite?roomId=xyz&sessionId=xyz&page=1&perPage=20`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
"pageInfo": {
"currentPage": 1,
"perPage": 20,
"lastPage": 1,
"total": 1
},
"data": [
{
"id": "68bec210ec765e266517c8f4",
"meetingId": "s87z-lvsj-riwb",
"sessionId": "68beb682f3d6c8895ed25299",
"participants": [],
"fileFormat": "webm",
"start": "2025-09-08T11:46:26.599Z",
"end": "2025-09-08T11:47:40.274Z",
"fileId": "68bec25cf3d6c8895e14d9fd",
"file": {
"meta": {
"resolution": {
"width": 800,
"height": 600
},
"format": "WebM",
"duration": 73
},
"filePath": "individual-recordings/68beb682f3d6c8895ed25299/composite_recording_1757331986657.webm",
"type": "video",
"size": 708352,
"ratio": {
"600": 9703.452054794521
},
"createdAt": "2025-09-08T11:47:40.279Z",
"updatedAt": "2025-09-08T11:47:40.279Z",
"fileUrl": "https://cdn.videosdk.live/individual-recordings/68beb682f3d6c8895ed25299/composite_recording_1757331986657.webm",
"id": "68bec25cf3d6c8895e14d9fd"
}
}
]
}

Got a Question? Ask us on discord