How can my script know when a new upload or code change happens?
Code Buckets doesn't describe webhooks, so poll the events feed:
- Every so often, call
GET /v1/buckets/{bucket_id}/events?type=code.(orupload.). - Process events newer than the last one you handled (compare
idorat). - 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.xyzFor deleting your whole account or the data of one service.