Get Recordings API
The Get Recordings API provides the ability to fetch recordings that were created using the SDK. In order to use the API, you will need to obtain an API key by connecting to your wallet.
Endpoint
GET
https://api.huddle01.com/api/v1/get-recordings
Whatever recordings are created using the SDK, will be listed in the Get Recordings API. The API will return the list of all the recordings which are created using the SDK.
GET
/get-recordings
Get Recordings 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.
Request
GET • /get-recordings
const response = await axios.get(
'https://api.huddle01.com/api/v1/get-recordings',
{},
{
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:
nextCursor
- The cursor for the paginationrecordings
- The list of recordings with their respective id, url and size.
In case of an error, the API will return an error message with a corresponding status code.
Response
{
"nextCursor": 1,
"recordings": [
{
"id": "dummy-recording-id",
"url": "https://dummy-recording-url.com",
"size": 100
}
]
}