getLiveMeetings()

Get Live Meetings

This method retrieves the list of live meetings from a given API_KEY. Live meetings are meetings where we have more than and equal to 1 participant.

Example

import { API } from '@huddle01/server-sdk/api';
 
const liveMeetings = async () => {
  const api = new API({
    apiKey: process.env.API_KEY!,
  });
 
  const liveMeetings = await api.getLiveMeetings();
 
  return liveMeetings.data;
};

Returns

getLiveMeetings() function will return an array of rooms with the following fields:

NameTypeDescription
titlestringThe title of the meeting
hostWalletAddressstring[]Array of wallet addresses who are assigned as hosts
roomIdstringroomId of the room
  {
      "data": {
        "liveMeetings": [
          {
            "title": "first meeting",
            "hostWalletAddress": [],
            "roomId": "wpd-hjnj-cyf"
          },
          {
            "title": "second meeting",
            "hostWalletAddress": [],
            "roomId": "gvh-pmpn-nbe"
          }
        ]
      }
  }
Audio/Video Infrastructure designed for the developers to empower them ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2024 Graphene 01, Inc. All Rights Reserved.