Skip to content

Create folder

Request

Create a new folder in the workspace asset library.

Folders are used to organize assets. The folder name must be unique within the workspace.

Security
ShuffllApiKey
Path
organizationIdstringrequired

Unique identifier for the organization

Example:693fb82afd8d1c43077ba0fb
workspaceIdstringrequired

Unique identifier for the workspace

Example:693fb82afd8d1c43077ba0fe
Bodyapplication/jsonrequired
newNamestringrequired

Folder name (must be unique in the workspace)

Example:"Campaign Assets"
curl -i -X POST \
  https://api-docs.shuffll.com/_mock/apis/auth/organization/693fb82afd8d1c43077ba0fb/workspace/693fb82afd8d1c43077ba0fe/assets/folder \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -d '{
    "newName": "Campaign Assets"
  }'

Responses

Folder created successfully.

Bodyapplication/json
successboolean
Example:true
Response
{ "success": true }