Preview Live Meeting Peers API

The Live Meetings API provides the ability to fetch live rooms in which people are currently present. In order to use the API, you will need to obtain an API key by connecting to your wallet.

Endpoint

GET

https://api.huddle01.com/api/v1/live-meetings/preview-peers?roomId=YOUR_ROOM_ID

Whatever meetings are created using Create Room API and are joined by users, will be listed in the Live Meetings API. The API will return the list of all the rooms which are currently live and the number of users present in each room.

GET
/live-meetings/preview-peers

Get Preview Peers API

The API supports a GET request with the following required parameters:

  • x-api-key - Add your API Key to the headers to fetch all the peers associated with your room.
  • roomId - Add your RoomId to the query params to fetch all the peers associated with your room.
Request
GET • /live-meetings/preview-peers
const response = await axios.get(
  'https://api.huddle01.com/api/v1/live-meeting/preview-peers',
  {
    roomId: 'YOUR_ROOM_ID',
  },
  {
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': {{API_KEY}},
    },
  }
);
Response

Upon success, the API will return a response with an array of previewPeer with the following fields:

  • displayName - The displayName of the peer created using the AccessToken.

In case of an error, the API will return an error message with a corresponding status code.

Response
  {
      {
        "roomId": ",",
        "previewPeers": [
          {
            "displayName": "axit.eth"
          },
        ]
      }
  }
Audio/Video Infrastructure designed for developers to empower them to ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2024 Graphene 01, Inc. All Rights Reserved.