Docs

Add Folder

POST /drives/{eventId}/folders

POST/drives/{eventId}/folders

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Creates a new folder in the drive within the specified partition and path.

Paths are ID-based. Use / to create the folder at the drive root. To nest inside an existing folder, pass that folder's fullPath (e.g., /{parentFolderId}).

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.

Request Body

FieldTypeRequiredDescription
partitionKeyGuidRequiredThe partition to create the folder in (event ID, collaborator ID, or area ID).
namestringRequiredDisplay name for the folder.
descriptionstringOptionalOptional description.
pathstringRequiredParent path where the folder is created (e.g., `/` or `/{parentFolderId}`).

Response

201 Created — No response body.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token.
BAD_REQUEST400Empty name or invalid path.