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

Drawer (sidedrawer) identifier.

string
required

Unique Folder (record) identifier (if Item type is record).

Body Params
string
required

Destination Drawer (sidedrawer) identifier.

string
required

Destination Folder (record) identifier.

required

One of the file identification options. A string produced by the system.

required

One of the file identification options. For example, fileNameWithExtension = myfile.docx.

required

A legacy file identification option. For example, fileName = myfile.

Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json