Skip to main content
POST
Copy a document to a different folder.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Body

application/json

Copy operation data

Request body for copying a document

companyId
string
required

Company ID

documentId
string
required

ID of document to copy

folder
object
required

Target folder: {name: string, path: string}

Response

Document copied successfully

Document copy response

msg
string

Success message

newDocumentId
string

ID of the new document copy