Visibility
Every file has avisibility that controls who can open it by its URL:
Set it on Create with the
visibility query parameter, or change it later with Update:
Direct Links
Every file gets a permanent URL based on its ID:url field when you upload a file. The response includes the original Content-Type header, so browsers render images, PDFs, etc. natively.
Slugs
You can attach a human-readable slug to any file. The slug becomes the last segment of the canonical URL:/{id}) continues to work after a slug is set — both forms resolve to the same file. Use the Update endpoint to set or clear a slug:
A–Z a–z 0–9 . _ ~ -.
To clear a slug, send an empty string:
CDN Usage
Public files are ideal for CDN or subdomain mapping:/{id} or /{id}/{slug} path. No auth headers needed for public files — ideal for edge caching.