Copy a file

Creates a copy of an existing Library file identified by libraryContentId into the destination folder specified by parentFolderId in the request body. The copied file inherits the source file's metadata including name, format, owners, experts, properties, and profile assignments. The copy receives a new id and versionId and its audit timestamps (createdAt, modifiedAt) reflect the time of the copy operation.

Use this endpoint when an integration needs to duplicate a file into a different folder within the same teamsite — for example, when provisioning content into locale-specific folders or when creating a working copy of a file before making modifications.

The parentFolderId in the request body is required and must reference an existing folder in the same teamsite. Use root to copy the file into the top-level folder of the teamsite.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the teamsite context for the request. Depending on API behavior, it may be a GUID-formatted value or a documented special value such as 1.

uuid
required

Identifier of the library content item targeted by the operation. For file-specific endpoints, this must identify file content and not other content types.

Body Params

JSON object specifying the destination folder for the copied file.

Request body for copying a Library file to a destination folder. Specifies where the copy should be placed.

string
required

Identifier of the destination or current parent folder. Can be root when content is at top level, otherwise folder GUID format.

Headers
string

Media type of the request body. Must be application/json for this endpoint.

Responses

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