Endpoint
Authentication
Requires authentication via API token in theAuthorization header.
Rate Limiting
This endpoint is rate limited to 2 requests per second.Request Body
The name of the folder. Must be at least 1 character after trimming whitespace.
Whether the folder should be publicly accessible.
Array of file IDs to add to the folder during creation.
ID of the parent folder. If provided, this folder will be created as a child of the specified parent.
Response
Returns the created folder object with all its properties.Unique identifier for the folder
The folder name
Whether the folder is publicly accessible
Whether uploads are allowed to this folder (defaults to
false)ISO 8601 timestamp of when the folder was created
ISO 8601 timestamp of when the folder was last updated
ID of the user who owns this folder
ID of the parent folder, or
null if this is a root folderArray of file objects in this folder
Counts of related entities
Parent folder information, or
null if this is a root folderExample Request
Create basic folder
Create public folder
Create folder with files
Create nested folder
Example Response
200 OK
400 Bad Request - No files found
403 Forbidden - Parent folder not owned
404 Not Found - Invalid parent
Notes
- Folder names are trimmed of whitespace before being saved
- If you provide file IDs that don’t exist, the request will fail
- Files must exist and be accessible before they can be added to a folder
- Parent folders must belong to the authenticated user