Switch language

Sandbox

Explore every endpoint with simulated responses — no credentials required.

POST /file/copy

Copy File

Create a copy of a file in a specified folder.

File ID

Destination folder ID

Reset form

Click "Send request" to see a simulated response.

Code Examples

const res = await fetch('https://rediafile.com/cloud/api/v2/file/copy', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${token}` },
  body: new URLSearchParams({
    file_id: 'file_84729',
    folder_id: 'fld_456'
  }),
});
const data = await res.json();