Default limits
Rate limit headers
Every response includes rate limit information:Exceeding the limit
When you exceed the rate limit, the API returns429 Too Many Requests:
Retry-After header with the number of seconds to wait.
Best practices
- Respect
Retry-After— wait the indicated time before retrying - Use exponential backoff — if retries keep failing, increase the wait time
- Cache responses — store results locally to avoid redundant requests
- Use
last_activity_since— for sync workflows, only fetch conversations with new activity instead of re-fetching everything - Use
total_count— to answer “how many?” questions without paginating through all results