Clatter LabsHelp Center

Can I make a file public as I upload it?

How-toUpdated

Yes. Start the upload with:

{ "name": "hero.png", "size": 48213, "content_type": "image/png", "visibility": "public" }

When the upload completes, public_url works straight away. Images get https://img.cdn.clatterlabs.xyz/<id>; other files get https://files.cdn-buckets.clatterlabs.xyz/<object_id>/<name>.

Set the right content_type so images are served on the image host with the correct type.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.