Skip to main content
Limits are counted per minute (60-second window). When you exceed a limit the API returns 429 with a Retry-After header.

Limits

v1 (/api/v1/crm)

Reads have their own budget, so polling does not use up the write limit. Writes that fail with a 4xx status do not count toward the write limit. DELETE on a webhook endpoint uses the write limit. The public track.js script is not limited here.

v2 (/api/v2)

Both the IP limit and the account limit apply to a request.

Client IP and TRUST_PROXY

The per-IP limit and the request logs use the client address that Express sees. Behind a load balancer or CDN that address is the proxy unless the server is told to trust the proxy’s X-Forwarded-For header. Self-hosted deployments set the TRUST_PROXY environment variable: The v1 and v2 apps use the same value. Set it to the number of proxies in front of the API (usually 1); otherwise all clients share one rate-limit bucket. This setting belongs to whoever operates the server; API clients do not set it.

Response headers

Rate-limited endpoints return the standard headers on every response: Other headers you may see: Browser clients can read all of these headers; they are exposed through CORS.

429 response

v2:
v1:
A separate 429 with code SCHEDULE_LIMIT_REACHED (v2) means too many scheduled calls are pending. It is not a request-rate limit.

Handling limits

  • Read RateLimit-Remaining and slow down before it reaches 0.
  • On 429, wait for Retry-After seconds, then retry. Add random jitter if many workers retry together.
  • Use POST /calls/bulk for many calls instead of many single requests.
  • Retry writes with an Idempotency-Key so a retry cannot duplicate work.
If the shared counter store is unavailable, requests are allowed through instead of being rejected.