Predictable performance
Edge caching, purge controls, and delivery analytics help teams keep media responsive during launches and traffic spikes.
Developers
Build file upload flows, content libraries, protected downloads, and media optimization into your product with clear primitives.
Platform confidence
Edge caching, purge controls, and delivery analytics help teams keep media responsive during launches and traffic spikes.
Private buckets, scoped API keys, signed URLs, and clear activity logs support safer uploads and protected delivery flows.
Migration planning, production setup, and integration guidance are available when your workflow needs an extra pair of eyes.
Implementation path
Start with the assets and access rules you already have, then connect uploads, cache behavior, signed delivery, and analytics in small steps your team can verify.
Review file types, regions, access rules, bandwidth, and existing origins.
Create buckets, CDN routes, signing rules, cache policies, and upload paths.
Monitor requests, cache hit ratio, bandwidth, errors, and user-facing latency.
API documentation
Use plain HTTP or a lightweight SDK to connect MediaCloudHub to your app, admin panel, upload workflow, or deployment pipeline.
<?php
// No SDK required - plain cURL against the REST API.
$apiKey = getenv('MEDIACLOUDHUB_API_KEY'); // pk_live_...
$base = 'https://app.mediacloudhub.com/api/v1';
$ch = curl_init("$base/media/upload");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer $apiKey"],
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => ['file' => new CURLFile('/path/to/photo.jpg')],
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response['id']; // 42
echo $response['url']; // "https://cdn.yoursite.com/media/42/stream"Base URL: https://app.mediacloudhub.com/api/v1 ยท Auth: Authorization: Bearer <api_key>
/api/v1/accountGet your account, plan, and storage usage
/api/v1/mediaList media - ?type=image&q=name&page=1
/api/v1/media/uploadUpload a file with multipart/form-data using the file field
/api/v1/media/import-urlImport a remote file using a JSON body with url
/api/v1/media/{id}Get a single media item by ID
/api/v1/media/{id}Update filename, alt_text, folder, or metadata
/api/v1/media/{id}Delete a media item permanently
/api/v1/foldersList distinct folder names in your library
Quick start - authenticate and list your media.
composer require mediacloud/php-sdkuse MediaCloud\Client;
$client = new Client('pk_live************************5XZR');
$media = $client->media()->list();
foreach ($media->items as $item) {
echo $item->cdn_url;
}Integration paths
Issue signed upload sessions and manage files from your application server.
Let users upload directly through short-lived keys and validated upload rules.
Publish static assets, purge paths, and tag releases from your deployment pipeline.
API building blocks
Create controlled browser or server uploads with size limits, file validation, and destination rules.
Give frontend, backend, CI, and partner integrations only the permissions they need.
Refresh changed content by URL, prefix, bucket, release tag, or automated deployment event.
Follow upload status, delivery activity, transformation results, cache behavior, and error signals.
Next step
Use the login page to access your console, or contact us for API onboarding and integration planning.