Live Meetings 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

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

Get All Live Meetings 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 rooms associated with your API Key.
Request
GET • /live-meetings
const response = await axios.get(
  'https://api.huddle01.com/api/v1/live-meeting',
  {},
  {
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': {{API_KEY}},
    },
  }
);
Response

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

  • title - The title of the room passed during room creation.
  • hostWalletAddress - An array of wallet addresses who are assigned as hosts.
  • roomId - The roomId of the room created using Create Room API.

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

Response
  {
      {
        "liveMeetings": [
          {
            "title": "first meeting",
            "hostWalletAddress": [],
            "roomId": "wpd-hjnj-cyf"
          },
          {
            "title": "second meeting",
            "hostWalletAddress": [],
            "roomId": "gvh-pmpn-nbe"
          }
        ]
      }
  }

Endpoint

GET

https://api.huddle01.com/api/v1/live-meeting/?roomId=YOUR_ROOM_ID

💡

If the room isn't live, the API will throw a 404 NOT FOUND error.

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-meeting

Get Single Live Meeting 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 rooms associated with your API Key.
  • roomId - Add the roomId in query params to fetch the details of a single active room.
Request
GET • /live-meeting
const response = await axios.get(
  'https://api.huddle01.com/api/v1/live-meetings',
  {
    roomId: 'YOUR_ROOM_ID',
  },
  {
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': {{API_KEY}},
    },
  }
);
Response

Upon success, the API will return a response with the following fields:

  • title - The title of the room passed during room creation.
  • hostWalletAddress - An array of wallet addresses who are assigned as hosts.
  • roomId - The roomId of the room created using Create Room API.
Response
  {
    {
      "title": "first meeting",
      "hostWalletAddress": [],
      "roomId": "wpd-hjnj-cyf"
    },
  }
Audio/Video Infrastructure designed for the developers to empower them ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2022 Graphene 01, Inc. All Rights Reserved.