Creating folders
How to create a folder or shared folder with the organization
Creating a folder
The mutation to create a folder in the authenticated user’s account (owner of the API token) is:
mutation CreateFolderMutation($parentId: UUID, $folder: FolderInput!) {
createFolder(parent_id: $parentId, folder: $folder) {
id
name
type
created_at
parentFolder {
id
name
}
}
}Define the variable values:
{
"parentId": "abc123",
"folder": {
"name": "Signed document"
}
}The field parentId is optional. If omitted, the folder will be created at the root level. To create a subfolder, provide the UUID of its parent folder.
Renaming a folder
Use updateFolder to rename an existing folder.
Variables.
Last updated