v8

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-214977372.7 KB
Digital Asset Management (DAM)
Managing assets

Copy file

This will copy a file from one folder to another.

Note: If any file at the destination has the same name as the source file, then the source file and its versions (if includeFileVersions is set to true) will be appended to the destination file version history.

post/v1/files/copy

Request body

sourceFilePathstring required

The full path of the file you want to copy.

destinationPathstring required

Full path to the folder you want to copy the above file into.

includeFileVersionsboolean

Option to copy all versions of a file. By default, only the current version of the file is copied. When set to true, all versions of the file will be copied. Default value - false.

Example request

{
  "sourceFilePath": "/path/to/file.jpg",
  "destinationPath": "/folder/to/copy/into/"
}

Response

File copied successfully.

object required