Skip to main content
POST
/
folders
curl -X POST "https://app.drime.cloud/api/v1/folders?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My New Folder",
    "parentId": null
  }'
{
  "status": "success",
  "folder": {
    "id": 485529680,
    "name": "My New Folder",
    "type": "folder",
    "hash": "NDg1NTI5NjgwfA",
    "file_size": 0,
    "parent_id": null,
    "workspace_id": 0,
    "path": "485529680",
    "created_at": "2024-01-20T10:00:00.000000Z",
    "updated_at": "2024-01-20T10:00:00.000000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.drime.cloud/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Creates a new folder in the specified location.

Query Parameters

workspaceId
integer
Workspace ID. Use 0 for personal workspace.

Request Body

name
string
required
Name for the new folder
parentId
integer
Parent folder ID. Use null to create in root.

Response

folder
object
The newly created folder object
status
string
Request status (success)
curl -X POST "https://app.drime.cloud/api/v1/folders?workspaceId=0" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My New Folder",
    "parentId": null
  }'
{
  "status": "success",
  "folder": {
    "id": 485529680,
    "name": "My New Folder",
    "type": "folder",
    "hash": "NDg1NTI5NjgwfA",
    "file_size": 0,
    "parent_id": null,
    "workspace_id": 0,
    "path": "485529680",
    "created_at": "2024-01-20T10:00:00.000000Z",
    "updated_at": "2024-01-20T10:00:00.000000Z"
  }
}