Skip to main content
POST
Create a document folder

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Body

application/json
name
string
required

Folder name

projectId
string

Optional project ID

parentFolderId
string

Optional parent folder ID

color
string

Optional color tag

Response

Folder created successfully

_id
string

Folder ID

clientUID
string

Client UID

projectId
string

Project ID the folder is scoped to

name
string

Folder name

parentFolderId
string | null

Parent folder ID

color
string

Optional color tag