Create a new folder in the workspace. You can create a root-level folder or a sub-folder by specifying a parentFolderId.
API ReferenceFolder
Create folder
/spaces/{spaceId}/foldersAuthorization API key in the x-api-key header
Path parameters
spaceIdstringrequiredID of the workspace. You can find from the url in dashboard when you open the workspace or using the list workspaces endpoint.
Body
application/json · object
namestringrequiredName of the folder
parentFolderIdstring · nullablerequiredID of the parent folder. Pass null to create a root-level folder.
Responses
200Created folderapplication/json · Folder
idstringrequiredcreatedAtstringrequiredupdatedAtstringrequirednamestringrequiredworkspaceIdstringrequiredparentFolderIdstring
400Invalid inputapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
401Authentication failedapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
403You don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available
404Not found or don't have accessapplication/json · ApiError
errorstringrequiredshort description of the error
errorDetailsobjectadditional details for the cause of the error if available

