Skip to main content
In five minutes you will upload a file, make it public, create a temporary link and delete it.
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 public.
The response is the file object: its 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

The link works for 10 minutes. See Links and visibility.
6

Delete the file

Where to go next