Skip to main content

Create a folder

Create a folder for the authenticated workspace.
1 min read
post/folders
Request example
Response
post/folders

Authorization

Authorizationstringheaderrequired#
Default authentication mechanism

Body

application/json
namestringrequired#
The name of the folder.

Length: max 190

descriptionstring#
The description of the folder.

Length: max 500

accessLevelenum<string>#
The workspace-level access level settings for the folder. Default is write which allows full access to the folder for all team members. The other options are read (view-only access) and null (no access) and are only available on Business plans and above.

Default: "write"

Options:writeread

Responses

application/json
The created folder
idstringrequired#
The unique ID of the folder.
namestringrequired#
The name of the folder.
descriptionstringrequired#
The description of the folder.
typeenum<string>required#
Options:defaultmega
accessLevelenum<string>required#
The workspace-level access level settings for the folder. Default is write which allows full access to the folder for all team members. The other options are read (view-only access) and null (no access) and are only available on Business plans and above.

Default: "write"

Options:writeread
createdAtstringrequired#
The date the folder was created.
updatedAtstringrequired#
The date the folder was updated.