/bff/drive/create-directory
Creates a new directory (and any missing parent directories) at the specified path. If the directory already exists, returns the existing directory info without error. Directory names must be unique within their parent folder.
DrivepostBffDriveCreate-directory
Parameters
1 body
Body · 1
pathstringRequiredFull directory path to create. Segments separated by "/" will create nested directories. Each segment name must be unique within its parent directory.
Request
POST /bff/drive/create-directory
curl -X POST "https://api.bizkithub.com/bff/drive/create-directory" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"path": "documents/invoices"
}'Response
Created (or existing) directory information.
{
"externalId": "example_externalId",
"name": "example_name",
"path": "example_path"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.