Create folder

Requirements

  • Authentication token

How to create a folder

POST /folders?token=:authenticationToken
  • Creates new folder
  • You can choose parental folder by specifying its folder ID

Example

Request

POST /folders?token=ADFFQBYXP2NVGR6PAP3KOR27FETP6
{
    "name": "My folder",
    "parentFolderId": null, //null or leave blank to create in root, otherwise specify parent folder ID
    "isShared": true   //Shared or private folder, you cannot create shared folder inside private parent and vice-versa
}

Response

{
    "id": "02a9cce1-e63d-47e0-b721-952df1992c45"
}