Skip to main content
Clone documents

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
documents
object[]
required

Documents to copy, each entry naming one of them and optionally the version it is expected to be at.

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

Folder to put the copies in. It has to be one the caller may edit. Without it the copies land at the root of a folder tree chosen by isShared.

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

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

isShared
boolean
default:false

Puts the copies at the root of the tree shared across the tenant rather than the caller's own. It has no effect once folderId names a folder.

Example:

false

Response

Reports the outcome of every requested copy.

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.