Skip to main content
Access storage methods via client.storage. Uploaded files are served from a public CDN — no extra configuration required.
Storage operations require your secret key (sk_live_...). These operations should only be performed server-side.

upload

Upload a file to storage.
Parameters Returns (UploadResponse)
Store the path alongside the url in your database. You need it to delete the file.
Example — Node.js upload

deleteFile

Delete a previously uploaded file by its storage path.
Parameters

Limits

Uploads that exceed 10 MB are rejected with a StorageError.