Leave Room

Leave a room/live

PREMIUM ENDPOINT

Leave a room/live

GET https://kitkot.xyz/api/live/leave

Leave a room/live after you have joined it

Query Parameters

Name
Type
Description

api_key*

String

The api_key you got when purchasing our service

session_key*

String

The session_key you got from our login endpoint

room_id*

String

The room_id of the room/live to leave

{
    data: {},
    code: 200,
    msg: 'success'
}
const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const session_key = "my-session-key";
const room_id = "someroomID"

const request = await fetch(`${BASEURL}/live/leave?api_key=${API_KEY}&session_key=${session_key}&room_id=${room_id}`);
const response = await request.json();
console.log(response);

Last updated