Sandbox
Explore every endpoint with simulated responses — no credentials required.
POST
/authorize
Authorize
Obtain a Bearer access token using account credentials or API keys.
Click "Send request" to see a simulated response.
Code Examples
import requests
resp = requests.post(
'https://rediafile.com/cloud/api/v2/authorize',
headers={'Authorization': f'Bearer {token}'},
data={
'username': 'admin',
'password': 'secret123',
'api_key': 'pk_live_xxxxxxxx',
'api_secret': 'sk_live_xxxxxxxx',
},
)
print(resp.json())