Switch language

Sandbox

Explore every endpoint with simulated responses — no credentials required.

GET /file/download

Download File

Get a signed temporary download URL for a file via its short URL.

Short URL code of the file

Reset form

Click "Send request" to see a simulated response.

Code Examples

<?php
$ch = curl_init('https://rediafile.com/cloud/api/v2/file/download?short_url=2Vv');
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $token]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);