Create a media-library folder

Creates a folder in the media library, optionally nested under parentUploadFolderId.

Folder names must be unique within the same parent. Only root-level folders count against the plan's folder limit.

Callers whose workspace role is locked are rejected with 403 unless the increaseUserLockedRolePrivileges feature flag is enabled for the tenant.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X POST 'https://apis.elai.io/api/v1/uploads/folders' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Product launch",
  "parentUploadFolderId": null
}'

Next: move-uploads — move existing assets into it.

Body Params
string
required

Folder name. Required.

string

Parent folder id. Omit for a root-level folder.

Responses

name missing, a folder with that name already exists in the same location, or the plan's folder limit is reached.

locked and the increaseUserLockedRolePrivileges feature flag is off.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json