Folder API
Create Folder
Create a folder to organize folder items. Set item_type to choose the item type; pass parent_folder_id to nest under an existing folder of the same type.
POST
Create Folder
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The ID of the team.
The name of the folder.
The non-folder item type this folder can contain. Required — folders are scoped per type, and FOLDER_ITEM_TYPE_UNSPECIFIED and FOLDER_ITEM_TYPE_FOLDER are rejected.
Available options:
FOLDER_ITEM_TYPE_UNSPECIFIED, FOLDER_ITEM_TYPE_FOLDER, FOLDER_ITEM_TYPE_WORKFLOW, FOLDER_ITEM_TYPE_GUIDANCE, FOLDER_ITEM_TYPE_FORM Optional parent folder. Unset creates the folder at the root. The parent must be of the same item_type.
Response
200 - application/json
Success
The created folder.

