Skip to main content
GET
List Template Folders

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

UUID of the workspace. Must be the workspace the API key belongs to. Only this workspace-in-path form is open to API keys.

Example:

"cb363f7e-c52a-4478-911d-f6a6f791090e"

Query Parameters

archived
boolean
default:false

true returns only archived folders. Default false (only active folders).

parentId
string

A folder UUID returns only the folders directly inside that folder. root returns only top-level folders. Omit it to get every folder at every level in one flat list.

Example:

"root"

orderBy
enum<string>
default:createdAt

Folder field to sort by: title or createdAt. Default createdAt.

Available options:
title,
createdAt
Example:

"title"

orderDirection
enum<string>
default:DESC

ASC or DESC, case-insensitive. Default DESC.

Available options:
ASC,
DESC

Response

Folders retrieved. meta is empty: the list is not paginated.

Each row is the folder plus two computed fields: path lists the folder's ancestors from the top level down (empty for a top-level folder; the folder itself is not included), and itemsCount is the number of templates the user can see directly in the folder plus the number of visible folders directly inside it. ParentId is null for a top-level folder.