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.
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
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.
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.
Portable identity: folder_ followed by 22 alphanumeric characters. Omit or leave empty to generate an ID; unique among live folders in the team.
Response
Success
The created folder.

