Switch language

Sandbox

Explore every endpoint with simulated responses — no credentials required.

POST /file/upload

Upload File

Upload a file (up to 10 GB) via multipart/form-data. Returns a short URL.

The file to upload (multipart)

Target 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/upload', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${token}` },
  body: new URLSearchParams({
    file: '(binary)',
    folder_id: 'fld_123'
  }),
});
const data = await res.json();