Switch language

Sandbox

Explore every endpoint with simulated responses — no credentials required.

POST /authorize

Authorize

Obtain a Bearer access token using account credentials or API keys.

Account username

Account password

Public API key

Secret API key

Reset form

Click "Send request" to see a simulated response.

Code Examples

const res = await fetch('https://rediafile.com/cloud/api/v2/authorize', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${token}` },
  body: new URLSearchParams({
    username: 'admin',
    password: 'secret123',
    api_key: 'pk_live_xxxxxxxx',
    api_secret: 'sk_live_xxxxxxxx'
  }),
});
const data = await res.json();