Skip to main content
Place a document in a folder tree

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Path Parameters

id
string
required

Identifier of the document to place.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

scope
enum<string>
required

Which folder tree to place the document in.

  • personal: Your personal folder tree, visible only to you.
  • shared: The organization-wide shared folder tree.
Available options:
personal,
shared
Example:

"personal"

Body

application/json

The destination folder for a document within one folder tree.

folderId
string | null
required

Identifier of the destination folder within the tree. Send null to place the document at the root of the tree. The folder must belong to the tree named in the path.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"97cfb9de-92dd-413a-b5e7-175eff7506d6"

Response

The document was placed.