Get Metadata API
The Get Rooms API provides the ability to fetch metadata for a room In order to use the API, you will need to obtain an API key for the project from huddle01.dev.
Endpoint
GET
https://api.huddle01.com/api/v2/sdk/rooms/get-metadata/:roomId
The Get Metadata API is a useful tool for retrieving metadata for specific meeting room. By passing in the roomId as a parameter, you can easily access the metadata of a previously created room.
GET
/get-metadata/:roomId
Get Rooms 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
- The RoomId of the room, for which you need to get the metadata.
Request
GET • /get-metadata/:roomId
const response = await axios.get(
'https://api.huddle01.com/api/v2/sdk/rooms/get-metadata/:roomId',
{},
{
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:
metadata
- Metadata of the room
In case of an error, the API will return an error message with a corresponding status code.
Response
{
"metadata": {
"title": "Huddle01 Room"
}
}