Skip to main content
Media Files/FoldersVersion: v3

Create Folder

POST/medias/folder

Creates a new folder in the media storage

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Body

altIdstringrequired

Location Id

Example:sx6wyHhbFdRXh302LLNR
altTypestringrequired

Type of entity (location only)

Available optionslocation
Example:location
namestringrequired

Name of the folder to be created

Example:New Folder
parentIdstring

ID of the parent folder (optional)

Example:64af50c42d567a3b4f5989e0

Response

Returns the newly created folder object

altIdstringrequired

Location identifier that owns this folder

Example:sx6wyHhbFdRXh302LLNR
altTypestringrequired

Type of entity that owns the folder

Available optionslocation
Example:location
namestringrequired

Name of the folder

Example:New Folder
parentIdstring

ID of the parent folder (null for root folders)

Example:64af50c42d567a3b4f5989e0
typestringrequired

Type of the object (always 'folder' for folders)

Example:folder
deletedboolean

Whether the folder has been deleted

Example:false
pendingUploadboolean

Whether there are pending uploads to this folder

Example:false
categorystring

Primary category of content stored in the folder

Example:image
subCategorystring

Sub-category of content stored in the folder

Example:logo
isPrivateboolean

Whether the folder is private and not publicly accessible

Example:false
relocatedFolderboolean

Whether the folder has been moved from its original location

Example:false
migrationCompletedboolean

Whether the data migration process has been completed for this folder

Example:true
appFolderboolean

Whether this is a system-generated application folder

Example:false
isEssentialboolean

Whether the folder is essential and should not be deleted

Example:false
statusstring

Current status of the folder

lastUpdatedBystring

ID of the user who last updated the folder

Example:user-uuid-123