Skip to main content
Create a folder

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
name
string
required

Name to give the folder.

Example:

"Project Documents"

isShared
boolean

Which of the two trees the folder belongs to: the tenant's shared one, or the caller's own. Each takes its own right to use, and a parent folder has to be in the tree the request names - the two trees cannot be nested inside one another.

Example:

true

parentFolderId
string | null

Folder to create this one inside. Left out, it is created at the root of the tree. The caller has to be able to edit the parent.

Example:

"a6cb590d-00c5-4a38-86da-da506ebb64df"

Response

Returns the identifier of the new folder.

id
string

Value the request produced: the identifier of the object it created or acted upon, or - on the endpoints that issue one - the token it granted.

Example:

"e58cc1acbba3cd8056ce6adb44d46a11a113170e884509c179701270b915b59b"