Upload, manage, share and sync files programmatically. High availability, end-to-end encryption, CDN delivery and simple REST + SDK interface.
const cubedisk = require('@cubedisk/sdk');
const client = new cubedisk.Client({
apiKey: process.env.CUBEDISK_API_KEY
});
const file = await client.files.upload({
path: '/reports/q3.pdf',
data: fs.createReadStream('./q3.pdf'),
visibility: 'private'
});
console.log(file.url);
// → https://content.cubedisk.com/f/8k2m9x...
Trusted by engineering teams at
Simple REST API and official SDKs. No complex setup, no vendor lock-in.
Resumable uploads, multipart support, direct-to-CDN downloads with signed URLs and bandwidth controls.
Private, public or password-protected files. Fine-grained ACLs, temporary tokens and team workspaces.
AES-256 at rest, TLS 1.3 in transit. Optional client-side encryption keys that never leave your infrastructure.
Files delivered from 40+ edge locations. Automatic image optimization and range requests for large media.
Keep history of every change. Real-time webhooks for upload, delete, share and access events.
Official libraries for Node.js, Python, Go, PHP and .NET. Full-featured CLI for CI/CD pipelines.
RESTful endpoints. JSON responses. Consistent error format.
/v1/files
Upload a new file. Supports multipart/form-data and application/octet-stream.
curl -X POST https://api.cubedisk.com/v1/files \
-H "Authorization: Bearer ck_••••••••••••" \
-H "Content-Type: multipart/form-data" \
-F "file=@report.pdf" \
-F "path=/docs/report.pdf" \
-F "visibility=private"
{
"id": "file_8k2m9xqp",
"path": "/docs/report.pdf",
"size": 245760,
"mime": "application/pdf",
"visibility": "private",
"url": "https://content.cubedisk.com/f/8k2m9xqp",
"created_at": "2026-08-27T12:04:11Z",
"checksum": "sha256:a3f2..."
}
/v1/openapi.json
Pay only for what you use. No hidden fees. Cancel anytime.
For prototypes and side projects
For production applications
For teams and high volume
Create a free account, generate an API key and upload your first file.
No credit card required · Free forever on Starter plan