Clatter LabsHelp Center

How do I create a bucket with the API?

How-toUpdated
curl https://api.codebuckets.clatterlabs.xyz/v1/projects/PROJECT_ID/buckets \
  -H "Authorization: Bearer $CLATTER_API_KEY" \
  -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID" \
  -H "Content-Type: application/json" \
  -d '{"name": "web", "preview": true}'
  • name: required, up to 80 characters.
  • description: optional, up to 500 characters.
  • preview: true by default; false keeps code only in encrypted zips.

New buckets are private and start empty, with their own encryption key.

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.