Create a Box folder through an API endpoint
Recipe ToolsDocument/FileMarketing
What it does
When someone calls the create folder API endpoint, this automation creates a folder in Box. If an error occurs, the response includes error details so the caller knows what happened.
Who it's for
Engineering teams who need to create Box folders programmatically without manual intervention.
Apps used
How teams use this
Sync folder creation across systems
When a project management tool creates a project, call this API to set up the matching Box folder automatically. The folder is ready before the team starts uploading files.
Let internal tools create folders
Any internal application can now call this endpoint to create Box folders on demand without needing direct Box access. The API handles the folder creation and returns the folder ID.
Add folder permissions to the response
Extend the API to set permissions on the new folder and include them in the response. The caller gets back not just the folder but also who can access it.
How it works
- Receive the create folder request. An API call arrives with the folder name and parent location. The automation defines what information the caller must send and what the response will include.
- Create the folder in Box. The automation creates a new folder in Box with the name and location from the request, then checks for errors before returning the result.
- Return the result to the caller. The automation sends back the folder details if it was created, or the error message if something went wrong, so the caller knows the outcome.