Integrate secure file upload, storage, and sharing into your application in under 30 minutes. REST endpoints, token authentication, and code examples in Python, PHP, JavaScript, and cURL.
The Rediafile Cloud API lets developers and businesses add secure file storage, upload, and sharing to any application — SaaS platforms, mobile apps, internal tools, or client portals. REST-based, JSON responses, HTTPS-only.
Read article →Building a custom file storage infrastructure is expensive and time-consuming. The Rediafile API offloads storage, CDN, encryption, and bandwidth management so your team can focus on building great products.
We handle storage, CDN delivery, and SSL.
Secure access_token flow with automatic expiration.
Private, unlisted, or public folders with optional password protection.
Import files directly from external URLs without downloading locally.
Check quotas programmatically via the /account/package endpoint.
Get up and running in under 30 minutes with clean REST endpoints.
Let users upload profile photos, documents, or media directly from your iOS, Android, or React app to cloud storage.
Add file attachments to tickets, projects, or records. Organize uploads per customer with folder isolation.
Build secure file exchange portals where clients upload sensitive documents to password-protected folders.
Schedule remote URL imports and move files between folders automatically.
Generate unique download URLs with tracking stats.
Use the API to push backups, logs, or exports to organized folder structures.
Call /authorize with your API keys or username/password to receive an access_token and account_id.
Use /file/upload for direct file transfers, or /file/url_upload_add to ingest files from remote URLs.
Organize files into folders, generate download links, edit metadata, or move assets between directories via API.
import requests
# 1. Authenticate
auth = requests.post("https://rediafile.com/cloud/api/v2/authorize", data={
"username": "your_username",
"password": "your_password"
}).json()
token = auth["data"]["access_token"]
account = auth["data"]["account_id"]
# 2. Upload a file
with open("report.pdf", "rb") as f:
upload = requests.post(
"https://rediafile.com/cloud/api/v2/file/upload",
data={"access_token": token, "account_id": account},
files={"upload_file": f}
).json()
print("File URL:", upload["data"][0]["url"])
| Capability | Endpoint | Business Value | |
|---|---|---|---|
| 🔐 | Authentication | /authorize | Secure token-based access with 1-hour session expiry. |
| 📤 | File Upload | /file/upload | Direct multipart upload with folder targeting. |
| 🔗 | Remote Import | /file/url_upload_add | Ingest files from external URLs without local bandwidth. |
| 📥 | Download Links | /file/download | Generate time-limited, trackable download tokens. |
| 📁 | Folder Management | /folder/create, /folder/move | Organize assets hierarchically with privacy controls. |
| ✏️ | Metadata Editing | /file/edit | Rename, reclassify, or relocate files programmatically. |
| 📊 | Quota Monitoring | /account/package | Check storage limits, upload size, and plan restrictions. |
Guides, tutorials, and API references from the Rediafile team.
Start integrating today — it takes less than 30 minutes.
🧪 Open the Sandbox