Create a folder in a collection
POSThttps://platform.docana.com/api/v1/collections/:collectionId/folders/
Creates a manual folder at the collection root, or inside another manual folder via parentFolderId. Connector-synced folders cannot hold manual folders — the connector owns that subtree. The response carries the created folder under folder, in the same shape listCollectionFolders returns, plus its id as folderId. Requires write access to the collection.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 500
The created folder
Invalid name, or the parent is missing or synced
The API key or session is missing, expired, or malformed.
No write access to the collection
A resource referenced by the path does not exist or is not visible to the caller.
Unexpected server error.