🧪 API Sandbox

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

Authorize

Authenticate with username/password or API keys to receive an access_token and account_id.

POST https://rediafile.com/cloud/api/v2/authorize

Parameters

Your Rediafile username or email.
Your account password.

Response

Select an endpoint and click "Send Request" to see a simulated response.
<?php
$ch = curl_init('https://rediafile.com/cloud/api/v2/authorize');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'username' => 'your_username',
    'password' => 'your_password',
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$resp = curl_exec($ch);
curl_close($ch);
echo $resp;