Dashboard

API Reference

Rate Limits

Each API key can make 10 requests per second. A request over the limit answers 429 with rate_limit_exceeded. Wait for the time in Retry-After and try again.

Sending also counts toward the workspace’s daily sending limit, one for each recipient. A send over that limit answers 429 with a message that names the limit. It resets at midnight UTC.

{
  "name": "rate_limit_exceeded",
  "status": 429,
  "message": "Too many attempts. Try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}

Headers

RateLimit-Policystring

The limit and window, such as 10;w=1.

RateLimit-Limitinteger

Requests allowed in each window.

RateLimit-Remaininginteger

Requests left in this window.

RateLimit-Resetinteger

Seconds until the window resets. Left out at the end of a window.

Retry-Afterinteger

Seconds to wait. Only on a 429.

{
  "name": "rate_limit_exceeded",
  "status": 429,
  "message": "Too many attempts. Try again later.",
  "errors": [],
  "request_id": "5f0c6a2e-8d1b-4c7a-9e3f-2b6d4a1c8e90"
}