put https://api-sbx.sidedrawersbx.com/api/v2/record-files/sidedrawer/sidedrawer-id//records/record-id//record-files/copy
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.