Skip to main content

Create folder

Create a folder inside another folder and return its id.

Command in the Box toolkit · id ooa.box/create_folder · 6 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
NameStringYesName of the new folder.
Parent folder IDStringNo0Folder to create it in. 0 is the top level of All Files.
Reuse existingBooleanNotrueIf a folder with this name is already there, return its id instead of failing.
Access tokenCredentialYesBox access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token.
As userStringNoAct on behalf of this Box user id (needs an admin or service account token). Leave empty to act as yourself.
Endpoint addressStringNohttps://api.box.comBox API address. Leave the default unless your administrator gives you another.

Outputs​

OutputTypeWhat it is
folder_idStringId of the new (or existing) folder.