Stop All streams - API
When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your dashboard, but if you prefer, you can use the API to submit evidence programmatically. Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our guide to dispute types.
HTTP method and endpoint
POST
|
https://api.videosdk.live/v2/combinestreams/end
Headers 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
Query Parameters
REQUIRED
RoomId for which the streams are to be ended
POST
|
https://api.videosdk.live/v2/combinestreams/end
NodeJS
import fetch from 'node-fetch';
const options = {
method: "POST",
};
const url= `https://api.videosdk.live/v2/combinestreams/end?roomId=xyz`;
const response = await fetch(url, options);
const data = await response.json();
console.log(data);
RESPONSE
{
"meetingId": "asdf-asdf-asdf"
}
Got a Question? Ask us on discord