Skip to main content
POST
Create a folder

Authorizations

Authorization
string
header
required

Company secret API key.

Headers

X-Woku-Idempotency-Key
string

Client-generated key to make the create safe to retry. A retry with the same key returns the original result instead of creating again.

Body

application/json
name
string
required
Required string length: 2 - 30
Example:

"Post-sale"

parentFolderId
string<ObjectId>

Parent folder. Omit to create the folder at the root.

color
string
Example:

"#3498db"

Response

Folder created