429 when a request exceeds a rate limit or a sending quota. This guide covers how to read the response, back off correctly, and tell the different kinds of 429 apart. For the full list of limits and headers, see the Rate Limit reference.
Which Limit Did I Hit?
Sandbox keys are exempt from the team limit and have their own per-second, per-minute and per-day limits, so a
429 on a sandbox key means you hit a sandbox limit. A live key hitting 429 while another live key is busy is expected: they share one limit.429 can also hit live-key traffic. It comes from the network edge, so it is not produced by the team limiter and its body differs from the one below. On API routes its JSON body uses error_code api_rate_limited instead of rate_limit_exceeded.
A 429 whose body has error_code set to quota_exceeded or daily_quota_exceeded comes from a sending quota rather than a rate limit, so slowing down won’t clear it. See Email Usage & Quotas.
Reading the Response
Exceeding the team limit returns HTTP429 with this body:
Every API response carries the
X-RateLimit-* headers, so a client can slow down before it gets a 429. Sandbox keys also get X-Sandbox-RateLimit-* headers, described on the sandbox page.
Implementing Backoff
On a429, pause and retry with exponential backoff. This example reads Retry-After and doubles the wait on each attempt:
Sending Fewer Requests
Each request supports up to 50 recipients acrossto, cc and bcc combined, so fill each request before sending the next. Sending one recipient per request uses up the 3 requests per second for no benefit.
Still Getting Unexpected 429s?
For429 errors well below the limits above, contact support@lettr.com with your API key prefix and the timestamps of the affected requests. For higher limits, contact sales@lettr.com.
Related Topics
Rate Limits Reference
Full reference for API rate limits, quota headers and error codes.
Email Usage & Quotas
How monthly and daily sending quotas work.
Delivery Issues
Troubleshoot common email delivery problems.