Create several folders
Create several folders in one call from POSIX-style paths such as 'Contracts/2026/Q1': missing parent folders are created, existing ones are reused (created: false). Paths are relative to parent_folder_id when given. For a single folder use documents.folder_create.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: space_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/spaces/123e4567-e89b-42d3-a456-426614174000/folders/batch" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "paths": [ "example" ] }'{ "folders": [ { "id": "123e4567-e89b-42d3-a456-426614174000", "space_id": "123e4567-e89b-42d3-a456-426614174000", "parent_id": "123e4567-e89b-42d3-a456-426614174000", "name": "Customer documents", "path": "/", "created_at": "2026-09-04T12:00:00Z", "document_count": 0, "child_folder_count": 0, "total_size": 0, "created": false } ], "space_id": "123e4567-e89b-42d3-a456-426614174000"}