Fetch a Composite Recording - API
This API lets you fetch details of your composite recording using recordingId.
HTTP method and endpoint
GET
|
https://api.videosdk.live/v2/recordings/composite/:idHeaders Parameters
REQUIRED
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
Parameters
REQUIRED
The ID of the composite recording.
GET
|
https://api.videosdk.live/v2/recordings/composite/:id
NodeJS
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/:id`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
"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