1
Create an API key
In the dashboard open Settings → API keys and create a key with the
blob:write scope (it can also read your files through blob:read, which the full preset includes). Keep it in an environment variable:2
Upload a file
The simple upload takes one request for files up to 100 MB. Files are private unless you ask for The response is the file object: its
public.id, size, content_type and, for public files, the url.3
List your files
4
Open the public URL
A public file lives at
https://blob.vertracloud.dev/<namespace>/images/logo.png; the url field of the object already has it. Open it in a browser or use it in an <img> tag.5
Create a temporary link for a private file
6
Delete the file
Where to go next
- Large files and progress: Uploads.
- Letting browsers upload directly: Serve user uploads.
- Every route: Blob API reference.