Guides

Rate limits

The API is rate-limited per API key. Stay under the limit and watch the RateLimit-* headers; over it, you get a 429 with a Retry-After.

The limit

1,000 requests per minute, per API key. Each key has its own bucket, so a test key and a live key don't share a limit. A batch send counts as one request per email it meters (so a 100-email batch consumes ~100 tokens), which is why batching is far more efficient than looping over /send. OAuth-connected agents are rate-limited the same way, per client.

The deliverability check additionally has a dedicated, tighter limit of 20 requests per minute, per key — it runs an AI analysis on every call, so the dedicated cap keeps an automated loop from running up cost. Over it you get the same 429 rate_limited (with Retry-After); no analysis runs.

Changes to the CRM (companies, deals, notes and tasks) have their own limit too: 120 a minute per account, across all its keys and connected agents. Over it you get 429 rate_limited with Retry-After, and nothing is changed. Reading the CRM counts only against your key's limit.

Headers

Every response carries your current budget:

RateLimit-Limit: 1000
RateLimit-Remaining: 994
RateLimit-Reset: 37          # seconds until the window resets
Retry-After: 12             # only on a 429

Handling 429

A 429 returns rate_limited and sets Retry-After (seconds). The SDK retries automatically with backoff; to handle it yourself, wait Retry-After and retry the idempotent request.

{
  "error": {
    "code": "rate_limited",
    "message": "Rate limit exceeded — retry after the indicated delay.",
    "request_id": "req_8f3c9a1b2d4e5f6071829304"
  }
}

When the limiter is unavailable

If the rate-limit check itself can't be evaluated (a rare backend fault), most endpoints fail open — your request proceeds, so a transient blip never blocks a critical send like a password reset. But for cost-bearing or bulk operations we instead fail closed and return 503 rate_limit_unavailable (retryable): the paid deliverability check (no analysis is run) and batch send (nothing is sent). It's safe to retry after a short backoff — the SDK already retries 503 for you.

Emails per recipient

Separate from the request rate, each account has a limit on how many emails one address gets from it: 5 in 24 hours and 15 in 7 days unless the account changes it (Settings → Workspace → Emails per contact). The third near-identical email to one address within 10 minutes is refused as well, which is what stops an AI agent sending in a loop. Campaigns and automations always count. An API email counts, and can be refused, only when it is sent by an agent connected through MCP or with an API key set to count (a choice when the key is created, changeable on the key list), so password resets and receipts from an ordinary key are never limited.

A refused email answers 422 recipient_cap_reached or 422 recipient_burst, nothing is sent, and the email's log row says why. Don't retry it straight away: the same email will be refused until the window has passed. In a batch the refusal is per item.