Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Folder templates

Folder templates save a folder structure so your team can create the same layout for every new project.

List folder templates for a workspace

get
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Query parameters
workspace_idstring · uuidRequired

The id of the workspace to get folder templates from

Example: 3f6c2a1e-8d4b-4c2f-9a7e-1b5d6e7f8a90
drive_idstring · uuid · nullableOptional

Optional drive id to filter templates specific to that drive

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

A list of folder templates

application/json
idstring · uuidRequired
drive_idstring · uuid · nullableOptional
workspace_idstring · uuidRequired
namestringRequired
descriptionstringRequired
iconstringRequired
createdstring · date-timeRequired
pathsstring[]Required
get/folder-templates
GET /folder-templates?workspace_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "drive_id": "123e4567-e89b-12d3-a456-426614174000",
    "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "description": "text",
    "icon": "text",
    "created": "2026-01-01T00:00:00.000Z",
    "created_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "email": "text",
      "avatar_url": "text",
      "user_type": "regular"
    },
    "paths": [
      "text"
    ]
  }
]

Create a folder template from an existing folder

post
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
namestringRequired

The name of the folder template

descriptionstringOptional

A brief description of how to use this template

Default: ""
iconstringOptional

Icon key used by the client when displaying this template

Default: ""
workspace_idstring · uuidRequired

The id of the workspace this template belongs to (always required)

drive_idstring · uuid · nullableOptional

Optional drive id if this template is specific to a drive within the workspace

root_pathstring · pathRequired

The absolute path of the folder to capture as a template

Responses
200

The created folder template

application/json
idstring · uuidRequired
drive_idstring · uuid · nullableOptional
workspace_idstring · uuidRequired
namestringRequired
descriptionstringRequired
iconstringRequired
createdstring · date-timeRequired
pathsstring[]Required
post/folder-templates
POST /folder-templates HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 165

{
  "name": "text",
  "description": "",
  "icon": "",
  "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "root_path": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "description": "text",
  "icon": "text",
  "created": "2026-01-01T00:00:00.000Z",
  "created_by": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  },
  "paths": [
    "text"
  ]
}

Delete a folder template

delete
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
template_idstring · uuidRequired

The ID of the folder template to delete

Responses
200

True if the template was deleted successfully

application/json
booleanOptional
delete/folder-templates/{template_id}
DELETE /folder-templates/{template_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
true

Update a folder template

patch
Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
template_idstring · uuidRequired

The ID of the folder template to update

Body
namestring · nullableOptional

The new name for the folder template

descriptionstring · nullableOptional

The new description for the folder template

iconstring · nullableOptional

The new icon key for the folder template

Responses
200

The updated folder template

application/json
idstring · uuidRequired
drive_idstring · uuid · nullableOptional
workspace_idstring · uuidRequired
namestringRequired
descriptionstringRequired
iconstringRequired
createdstring · date-timeRequired
pathsstring[]Required
patch/folder-templates/{template_id}
PATCH /folder-templates/{template_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 50

{
  "name": "text",
  "description": "text",
  "icon": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "workspace_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "description": "text",
  "icon": "text",
  "created": "2026-01-01T00:00:00.000Z",
  "created_by": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  },
  "paths": [
    "text"
  ]
}

Last updated

Was this helpful?