When you’re limited
A throttled request returns HTTP429 Too Many Requests with the standard
error body. Back off and retry — the limit is a short rolling window,
so a brief pause clears it.
Handling it gracefully
- Back off exponentially. On a
429, wait a moment and retry, increasing the delay each attempt (e.g. 1s, 2s, 4s) with a little random jitter. - Prefer webhooks over polling. If you’re calling
/v1/eventsin a tight loop to react to changes, register a webhook instead — Kua pushes events to you, so you make far fewer requests. - Batch where you can. Page with a larger
limitrather than many small requests.