POST api/2.0/files/folder/{folderId} This function requires authentication

Description

Creates a new folder with the title specified in the request. The parent folder ID can be also specified.

Parameters
Name Description Type Example
folderId
sent in url
Parent folder ID number 1234
Title
sent in body
Folder title string some text
Example
POST api/2.0/files/folder/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Title": "some text"
}
Returns

New folder parameters

Example Response
{
  "status": 0,
  "response": {
    "ParentId": 1234,
    "FilesCount": 1234,
    "FoldersCount": 1234,
    "New": 1234,
    "Mute": true,
    "Pinned": true,
    "Private": true
  }
}