🚀 Version 2.0 is now live! See our changelog for details
cURL
curl --request POST \ --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "New Folder", "parent_id": "59ac8aa5-c569-4c82-8e3d-c10dd026813a" } '
{ "data": { "created_at": "2025-11-10T14:35:09.411038+06:00", "updated_at": "2025-11-10T14:35:09.411038+06:00", "name": "New Folder", "id": "8946e490-2cf3-48d2-82ae-99ab8e65a795", "library_id": "314221a1-3cbf-4d3c-846e-f6c22bc43064" }, "message": "Folder Created Successfully", "success": true }
Create a new folder in this library. Folders are used to organize video assets.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier of the library.
The display name of the folder. Used to identify and reference the folder in API requests or dashboards.
ID of the parent folder this item belongs to. Use null for root level.
Show child attributes