🚀 Version 2.0 is now live! See our changelog for details
cURL
curl --request GET \ --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "fcd82c40-4d0c-4cc7-a357-0774e2cab7b8", "name": "Product", "created_at": "2025-10-09T16:32:15.870776Z", "updated_at": "2025-10-09T16:32:15.870776Z" } ], "meta": { "links": { "self": "/libraries/5c59072e-2762-4ae9-889e-4ffbe32f7662/folders?limit=20&page=1", "first": "/libraries/5c59072e-2762-4ae9-889e-4ffbe32f7662/folders?limit=20&page=1", "last": "/libraries/5c59072e-2762-4ae9-889e-4ffbe32f7662/folders?limit=20&page=1" }, "pagination": { "page": 1, "page_size": 20, "total": 1, "total_pages": 1 } }, "message": "Folders Fetched Successfully", "success": true }
Retrieves a list of all folders within a specified library.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier of the library.
The response is of type object.
object