🧪 API Sandbox

Test Rediafile Cloud API v2 endpoints live. Responses are simulated — no real credentials required.

Upload File

Direct multipart upload with optional folder targeting.

POST https://rediafile.com/cloud/api/v2/file/upload

Parameters

Auth token.
Account id.
Target folder id (0 = root).
The file to upload.

Response

Select an endpoint and click "Send Request" to see a simulated response.
const params = new URLSearchParams();
const data = new FormData();
data.append('access_token', 'demo_token_abc123');
data.append('account_id', 'acc_demo_001');
data.append('folder_id', '0');
data.append('upload_file', 'report.pdf');

const resp = await fetch('https://rediafile.com/cloud/api/v2/file/upload', {
  method: 'POST',
  body: data
});
const json = await resp.json();
console.log(json);