getRoomMeetings()

Get Room Meetings

getRoomMeetings() returns all the meetings from given roomId. By passing roomId you can get list of meetings along with their start and end time.

💡

meetingId and roomId are different, one roomId can have multiple meetings i.e. multiple meetingIds.

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

Returns

getRoomMeetings() returns a list of meetings with following fields.

NameTypeDescription
meetingIdstringYour meeting ID
startTimestringStart time of the meeting in epoch timestamp format
endTimestringEnd time of the meeting in epoch timestamp format
{
    "data": {
        "meetings": [
            {
                "meetingId": "YOUR_MEETING_ID",
                "startTime": 1707929199649, // epoch timestamp
                "endTime": 1707933488746 // epoch timestamp
            }
        ]
    }
}
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.