Skip to content

Create folder

A folder is a container for files and sub folders.

The name of folder has the following restrictions

  • Name cannot begin with /
  • Length should be less than 255 characters
  • Name should not be reserved keywords like com, lpt, con, nul, prn, aux, ?, <, >, *, |

Name of the folder under the parent should be unique. Folder with same name cannot be created under the parent.

To create a folder, the identifier of the folder’s parent folder must be provided.

  • A space should be created. To know more about creating a space refer here
POST {baseUrl}/spaces/{spaceId}/folders
  • HEADER:

    • Authorization: Bearer {tid token}
  • BODY:

    • name - Name of the folder
    • parentId - Parent id where folder needs to be created

To know more about the Create folder API refer here.