🧪 API Sandbox

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

Create Folder

Create a new folder with optional privacy settings.

POST https://rediafile.com/cloud/api/v2/folder/create

Parameters

Auth token.
Account id.
Folder name.
public|unlisted|private.

Response

Select an endpoint and click "Send Request" to see a simulated response.
<?php
$ch = curl_init('https://rediafile.com/cloud/api/v2/folder/create');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
    'access_token' => 'demo_token_abc123',
    'account_id' => 'acc_demo_001',
    'folder_name' => 'Client Deliverables',
    'privacy' => 'private',
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$resp = curl_exec($ch);
curl_close($ch);
echo $resp;