Create folder
Create a folder to file top-level pages in, inside a project. Folders nest three levels deep.
POST
/v1/w/{workspace}/foldersSend an Idempotency-Key. This may answer 202 while it waits for approval.
Path parameters
workspacestringrequiredYour workspace’s address name.
Headers
Idempotency-Keystring8–100 characters. Repeat the same key and body to get the first outcome back instead of writing twice.
Body
idstringnamestringrequiredThe folder’s name, 1 to 80 characters.
colorintegerA colour from 1 to 8.
parentIdstring | nullPut it inside this folder.
projectstringThe project it belongs to: general, a product key, or a custom project’s id.
Response
folderobjectrequiredDetails
Create a Pages folder in a product, General or a custom project. Folders nest up to three levels. Only top-level pages go in folders.