Folders

Create a folder { name, workspace, parentFolder? }

POSThttps://backend.immut.io/api/v1/folders

Required scope: folders:write

Creating a duplicate under the same parent returns an "already exists" error. Re-list with parentFolder=all to get the existing id. Upload documents into a folder with POST /documents field folder=<id>.

Request body

Content type: application/json (required)

FieldTypeRequiredDescription
namestringyesfolder name (required)
workspacestringyesworkspace id (required)
parentFolderstringnoparent folder id (optional). Omit for a top-level folder.

Responses

StatusMeaning
200Success
400BadRequest
401Unauthorized
403Forbidden
429RateLimited

Example

curl -X POST "https://backend.immut.io/api/v1/folders" \
  -H "Authorization: Bearer $IMMUT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"<name>","workspace":"<workspace>","parentFolder":"<parentFolder>"}'

Generated from the immut API contract, version 1.9.0. Machine-readable: this page as markdown · everything in one file · OpenAPI