Create IFrame Room API

The Huddle01 API provides the ability to create rooms, join room tokens for hosting various communication experiences. In order to use the API, you will need to obtain an API key by connecting to your wallet.

💡

If you have a custom Huddle01 subdomain, use the Create Room API instead

Endpoint

POST

https://api.huddle01.com/api/v1/create-iframe-room

The Create Iframe Room API is to create a meeting room and obtain roomId, and meetingLink. Additionally, you can add custom functionalities such as muteOnEntry, roomLock, and hostWallets, among others, to enhance the functionality of your iframe meeting rooms.

POST
/create-iframe-room

Create Iframe Room Api

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

  • title - The title of the room.
  • roomLocked - Boolean value to lock the room.
Request
POST • /create-iframe-room
const response = await axios.post(
  'https://api.huddle01.com/api/v1/create-iframe-room',
  {
    title: 'Huddle01-Test',
    roomLocked: true
  },
  {
    headers: {
      'Content-Type': 'application/json',
      'x-api-key': {{API_KEY}},
    },
  }
);
Response

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

  • message - The message returned from the server.
  • roomId - The id of the room created.

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

Response
{
    "message": "Meeting Created Successfully",
    "data": {
        "roomId": "tyt-eyoq-zwq",
        "meetingLink": "https://app.huddle01.com/tyt-eyoq-zwq"
    }
}

Request

ParamsDefinitionData TypeMandatory
titleThe title of the room. This will be displayed in the room list.stringY
descriptionThe description of the room. This will be displayed in the room list.stringN
roomTypeAUDIO will be for Audio Spaces and VIDEO will be for normal meetings with Video and Audio both.AUDIO | VIDEON
startTimeThe start time of the room. This will be displayed in the room list.string (ISO 8601)N
expiryTimeThe expiry time of the room. This will be displayed in the room list.string (ISO 8601)N
hostWalletsThe host wallets how who will have admin access to the room.string [ ]N
roomLockedThe start time of the room. This will be displayed in the room list.booleantrue
muteOnEntryEvery new peer who joins, must be mutedbooleanfalse
videoOnEntryEvery new peer who joins, must have their video turned offbooleanfalse

Response

FieldsDefinitionData Type
messageThe message returned from the server.string
roomIdThe id of the room created.string
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.