Documentation

List Live and Pre-made Streams API

This API endpoint returns a list of rooms with status SOON or LIVE, created via the Room API or the admin panel. It provides details on each stream’s current status, configuration, and metadata.

Endpoint URL

`https://chatbackend.watchers.io/room/premade?apiKey=\{API KEY}`

Response Structure

The API returns a JSON array of objects, each representing a single audio stream with its detailed configuration and status. Below are the fields included in each object in the response:

[
  {
    "id": 671,
    "externalRoomId": "WOWRoomID",
    "isSpeak": true,
    "autoRecord": false,
    "status": "SOON", //SOON/LIVE
    "name": "Live stream name",
    "about": "Live stream Description",
    "pic": "https://urlToIMG.jpg",
    "pic96": "https://urlToIMG.jpgg",
    "pic128": "https://urlToIMG.jpg",
    "isCreatedByAdmin": true,
    "startTime": "2024-05-06T14:00:00.000Z",
    "endTime": "2024-05-06T15:00:00.000Z",
    "createdAt": "2024-05-06T06:43:32.588Z",
    "isSlowmode": false,
    "slowmodeDelayMS": 0,
    "record": null
  }
]