Clatter LabsHelp Center

How can my script know when a new upload or code change happens?

How-toUpdated

Code Buckets doesn't describe webhooks, so poll the events feed:

  1. Every so often, call GET /v1/buckets/{bucket_id}/events?type=code. (or upload.).
  2. Process events newer than the last one you handled (compare id or at).
  3. Store the newest event you've seen.

Each poll costs 1 token, so a gap of a minute or more is plenty for most uses.

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.