uSend Docs
API reference

Rate limits

How many requests you can make, and how to handle 429 responses.

Each organization can make up to 10 requests per second (more on paid plans), shared by all its API keys and OAuth apps. The limit uses fixed one-second windows and applies to every endpoint. A batch request counts as one request, however many emails it contains.

SMTP submissions count against the same limit: one message is one request, and over the limit the server answers 421 so the client retries.

Rate limits are separate from your sending quotas, which count recipients per day and per month (every to, cc and bcc address).

Headers

Every response to a request made with an API key includes:

HeaderDescription
ratelimit-limitRequests allowed per window.
ratelimit-remainingRequests left in the current window.
ratelimit-resetSeconds until the window resets.
ratelimit-policyThe policy, for example 10;w=1 (10 requests per 1-second window).

When you exceed the limit

The request fails with 429 and a retry-after header (seconds):

HTTP
HTTP/1.1 429 Too Many Requests
ratelimit-limit: 10
ratelimit-remaining: 0
ratelimit-reset: 1
ratelimit-policy: 10;w=1
retry-after: 1
content-type: application/json

{"statusCode":429,"name":"rate_limit_exceeded","message":"Too many requests. You can only make 10 requests per second."}

Wait for retry-after seconds, then retry.

Stay under the limit

  • Use batch sending to send up to 100 emails per request.
  • Use broadcasts to email a whole audience with one request.
  • Queue your sends and retry 429 responses with backoff.

Quota errors (daily_quota_exceeded, monthly_quota_exceeded) also use status 429, but retrying them does not help until your quota resets. Check name to tell them apart.