Upload frontend assets
Send images, JavaScript, CSS, fonts, PDFs, video, and generated files from your own code.
Asset Management API
Upload, organize, version and optimize frontend assets programmatically using the Smooth CDN API. Perfect for applications, deployment pipelines and custom integrations.
curl https://api.smoothcdn.com/projects \
-H "Authorization: Bearer <YOUR_API_KEY>"Smooth CDN API manages the asset workflow around your files: projects, folders, versions, optimization and URL retrieval. It is not just object storage with a public URL.
Send images, JavaScript, CSS, fonts, PDFs, video, and generated files from your own code.
Create asset containers for apps, customers, environments, or product areas.
Keep uploaded files grouped by path, build output, feature, or integration.
Publish predictable asset releases and keep old versions addressable.
Read back CDN-ready URLs for apps, CMS entries, customer dashboards, or generated content.
Connect asset publishing with backends, release jobs, internal tools, and integrations.
Start with authentication, upload assets, retrieve optimized URLs, and create versions. The full reference is in the API documentation.
Use bearer tokens from server-side code, scripts, or release jobs.
curl https://api.smoothcdn.com/projects \
-H "Authorization: Bearer <YOUR_API_KEY>"Send one or many frontend assets as multipart files.
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"Read uploaded assets and store optimized URLs in your application.
curl https://api.smoothcdn.com/projects/<project-id>/assets \
-H "Authorization: Bearer <YOUR_API_KEY>"Create named asset versions for predictable releases.
curl https://api.smoothcdn.com/projects/<project-id>/versions \
-X POST \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"version":"1.2.1"}'The API fits wherever assets are created by software, not uploaded by a person.
Call the API from server-side code, jobs, workers, CMS integrations, or internal tools.
Node.js backend
Laravel
Next.js API routes
Express
NestJS
Go
Python
PHP
The API is one way into the same Smooth CDN asset workflow. Use it when asset management belongs inside your own application or backend.
Best for deployment pipelines.
Best for applications and backend integrations.
Best for local folder synchronization.
Best for WordPress websites.
Create a free project and begin uploading assets through the API.