Room Exists

Check if a room is currently live or not

PREMIUM ENDPOINT

Check if a room is currently live or not

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

Returns if a room is currently live or not

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_ids*

String

The room_ids to check for, this can also be multiple ids just seperate them by commas: roomid1,roomid2,roomid3

{
  code: 200,
  msg: 'success',
  rooms: [
    {
      alive: true,
      room_id: 0,
      room_id_str: '0'
    }
  ],
}
const BASEURL = "https://kitkot.xyz/api";
const API_KEY = "my-api-key";
const session_key = "my-session-key";
const room_ids = "roomid1,roomid2,roomid3";

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

Last updated