Participant List API

GET

https://api.huddle01.com/api/v1/rooms/participant-list?meetingId={meetingId}

The Participant List API is a useful tool for retrieving information about a specific meeting room. By passing in the meetingId as a parameter, you can easily access a list of participants who joined the meeting.

This API is especially useful if you need to retrieve information about a room for administrative purposes or if you want to gather a list of participants. Overall, the Participant List API is a valuable resource for accessing participants in your meeting rooms and can be used in a variety of scenarios to enhance your experience with Huddle01.

💡

Retrieve the meetingId by utilizing the Meeting List API and copying the meetingId associated with the particular meeting.

GET
/rooms/participant-list?meetingId={meetingId}

Participant List API

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

  • meetingId - The meetingId of the meeting, for which you need to get the details.
Request
GET • rooms/participant-list?meetingId={meetingId}
const response = await axios.get(
  'https://api.huddle01.com/api/v1/rooms/participant-list?meetingId={meetingId}',
  {
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': {{API_KEY}},
    },
  }
);
Response

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

  • participants - The list of displayName and walletAdddress of the participants who joined the meeting.

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

Response
{
    {
      "roomId": "emo-orrj-uvh",
      "hostWalletAddress": [],
      "duration": 244,
      "participants": [
        {
          "displayName": "OmG",
          "walletAddress": "0x123456789",
          "joinedAt": "2023-07-10T09:33:34.771Z",
          "exitedAt": "2023-07-10T09:34:40.436Z",,
        },
        {
          "displayName": "Axit",
          "walletAddress": null,
          "joinedAt": "2023-07-10T09:06:12.157Z",
          "exitedAt": "2023-07-10T09:34:40.436Z",,
        }
      ]
    }
}

Request

ParamsDefinitionData TypeMandatory
meetingIdThe MeetingId of the room, for which you need to get the list.stringY

Response

FieldsDefinitionData TypeMandatory
roomIdThe RoomId of the room, for which you need to get the list.stringY
hostAddressesThe host wallet address of the room.string[]Y
participantsThe list of participants in the room.{displayName: string, walletAddress: string | null}[]Y
durationThe duration of the meeting.number | nullN
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.