POST api/2.0/files/file/{fileId}/copyas

Description

Copies (and converts if possible) an existing file to the specified folder.

Parameters
Name Description Type Example
fileId
sent in url
File ID string some text
destFolderId
sent in body
Destination folder ID string some text
destTitle
sent in body
Destination file title string some text
Example
POST api/2.0/files/file/%22some+text%22/copyas
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "destFolderId": "some text",
  "destTitle": "some text"
}
Returns

Copied file