Skip to main content
Hand documents over to the other folder tree

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
docs
object[]
required

Documents to hand over to the other tree. Folders are not accepted here.

Required array length: 1 - 10000 elements
folderId
string | null

Folder in the destination tree to file the documents under. Sent as null, they land at the root of it.

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

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

isShared
boolean
default:false

Which way the documents travel: on, from the caller's own tree into the tenant's shared one; off, the other way round.

Example:

false

Response

Returns the entries that did not go through.

count
integer
required

Number of items the request processed, successful and failed alike.

Example:

22

errors
boolean
required

Whether any item failed. Check it before treating the call as a clean success - the request itself answers 200 even when individual items did not go through.

Example:

false

items
object[]

Per-item outcomes. Endpoints report the failed items here; some also list the successful ones, so read each item's own status rather than inferring it from being listed.