Developer API
Integrate TOXcloud seamlessly into your applications. Upload new Google Drive links programmatically using GET or POST requests.
Authentication & Base URL
All API requests must be authenticated. You can pass your API Key in one of three ways: via the URL query parameter (?api_key=), the X-API-Key header, or the standard Authorization: Bearer header.
Base API URL:
https://api.azonahub.biz/
Upload Google Drive Link
Submit a Google Drive URL via GET or POST to process it across all your active proxy servers automatically.
GET
POST
https://api.azonahub.biz/
| Parameter | Location | Type | Description |
|---|---|---|---|
| api_key Required |
Query / Header | String | Your account API key for authentication. |
| driveUrl Required |
Query (GET) / JSON Body (POST) | String | The direct Google Drive link you want to process. (You can also use url as the key name). |
# cURL Example: Upload a file via GET (URL Parameters)
curl -X GET "https://api.azonahub.biz/?api_key=YOUR_API_KEY_HERE&driveUrl=https://drive.google.com/file/d/1A2B3C4D5E/view"
# cURL Example: Upload a file via POST (JSON Body)
curl -X POST "https://api.azonahub.biz/" \
-H "Authorization: Bearer YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"driveUrl": "https://drive.google.com/file/d/1A2B3C4D5E/view"}'
// PHP cURL Example (Upload via POST)
$ch = curl_init();
$payload = json_encode(["driveUrl" => "https://drive.google.com/file/d/1A2B3C4D5E/view"]);
curl_setopt($ch, CURLOPT_URL, "https://api.azonahub.biz/");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"X-API-Key: YOUR_API_KEY_HERE",
"Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
Response Format (JSON)
The API returns standard JSON responses. Always check the success boolean to verify the result of your action.
// Success Response (Upload GET / POST)
{
"success": true,
"id": "abc123xy",
"title": "Movie_Title.mp4",
"message": "Files processed successfully! Direct links are ready, and background tasks are queued."
}
// Error Response (HTTP 400 / 401 / 500)
{
"error": "Unauthorized: Missing API Key. Provide via ?api_key=, X-API-Key header, or Authorization header."
}