Skip to main content
create_document Create a new document (file) or folder in a project. Set type to “FOLDER” for folders, “FILE” for documents.

Parameters

name
string
required
Document or folder name.
type
string, enum: 'FILE' | 'FOLDER'
default:"FILE"
Node type: “FILE” or “FOLDER”.
parentId
string
Parent folder ID. Omit for project root level.
projectId
string
description
string
Optional document description.
reference
string
Optional document reference.