Upload assets
Push images, video, CSS, JS, audio, PDFs, fonts, and static files.
CDN API
Use the Smooth CDN API to create projects, upload files, publish asset versions, and return optimized CDN URLs from your own backend, scripts, or release jobs.
curl https://api.smoothcdn.com/projects \
-H "Authorization: Bearer <YOUR_API_KEY>"The API gives your backend, plugin, integration, or release job access to the same asset pipeline used by Smooth CDN CLI.
Push images, video, CSS, JS, audio, PDFs, fonts, and static files.
Create image variants, minify CSS / JS, optimize audio, video, and PDFs, compress, and cache.
Use stable optimized URLs in your app.
Use the API when asset delivery should happen inside your product, deployment flow, or internal tooling.
Create and organize asset containers from your own backend, admin panel, or onboarding flow.
Push files from scripts, release jobs, CMS workflows, or internal tools without dashboard steps.
Publish grouped asset versions and mark the active version as latest when a release is ready.
Apply basic token protection to selected files while keeping normal frontend assets public.
Authenticate server-side jobs, automation scripts, and CI/CD workflows with bearer tokens.
Build your own deployment flow, plugin, connector, or asset sync process on top of Smooth CDN.
Start with project setup, upload assets from your workflow, then read back CDN-ready files for your app, CMS, or integration.
curl https://api.smoothcdn.com/projects \
-X POST \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Marketing Assets",
"slug": "marketing-assets"
}'curl https://api.smoothcdn.com/upload/bulk \
-X POST \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-F "projectId=<project-id>" \
-F "assets=@./hero.png" \
-F "assets=@./app.js" \
-F "assets=@./styles.css"curl https://api.smoothcdn.com/projects/<project-id>/assets \
-H "Authorization: Bearer <YOUR_API_KEY>"Use the CLI for standard deployments. Use the API when asset delivery needs to be part of your own product, customer workflow, CMS integration, or backend automation.
Generate an API key, connect your backend or release job, and publish optimized assets without manual upload steps.