Skip to main content

Folders

Create a folder

To create a folder, you need to send an HTTP POST request to the API Endpoint, along with the authentication Header.

https://app.tpstreams.com/api/v1/<organization_id>/assets/folders/

Fields

NameTypeDescriptionRequired
titlestringThe name of the folderYes
parentstringThe UUID of the parent folder, if you want to create the folder as a childNo

Sample request body

{
"title": "CAT videos",
"parent": "32seYYHeNxE"
}

For valid requests the API server returns a JSON:

{
"title": "CAT videos",
"uuid": "46seZZHAnWE", // folder id
}