Clatter LabsHelp Center

Can my web app upload directly to Code Buckets from the browser?

FAQUpdated

The API allows cross-origin requests, but never put a clsk_ key in front-end code: anyone could read it and use your buckets.

Instead:

  1. The browser sends the file to your backend.
  2. Your backend uploads it to Code Buckets with the key (one request for files up to 4 MiB, chunked for larger).
  3. Your backend returns the public_url (if public) or the object id.

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.