API Reference
Log In
API Reference

Copy a file

Copies a file, as specified by the identifiers of the Drawer (sidedrawerId) and the Folder (recordId), and the request body parameter of the file to be copied. Accepts fileNameWithExtension, fileToken, or fileName (legacy identifier). This endpoint will automatically create a file token for files with a legacy file identifier, and then create the copy.

If the copied file should be located in a different Folder (record), specify the destination Drawer (destinationSidedrawerId) and destination Folder (destinationRecordId) in the request body.

Path Params
string
required

Unique Drawer (sidedrawer) identifier.

string
required

Unique Folder (record) identifier.

Body Params
string
required

Destination Drawer (sidedrawer) identifier.

string
required

Destination Folder (record) Identifier.

required

File token.

required

File name (with file extension).

required

File name.

Response

record) has been successfully created.

Language
Credentials