Rate limits

The rate limits on Zoie's public HTTP APIs, OAuth endpoints and MCP server — window, maximum and what each is counted per — plus the RateLimit headers and the 429 response.

Zoie limits requests in layers. Every request to the API counts against a per-IP ceiling, and each public endpoint adds a tighter limit of its own. The figures below are the defaults. Zoie can change them, so read the RateLimit headers rather than hard-coding the numbers.

Zoie API limits

Limit nameApplies toDefaultCounted per
global-ipEvery request to https://api-us.zoie.ai600 per minuteIP address
blocklist-apiGET /api/v1/public/blocklist/check and GET /api/v1/public/blocklist120 per minuteBusiness
public-leadGET /api/v1/public/forms/:id, POST /api/v1/public/submitForm, GET /api/v1/public/getServiceOptions/:business_id, and the inbound webhook URLs30 per 15 minutesIP address plus the form or business ID in the request
oauth/oauth/register, /oauth/authorize, /oauth/authorize/decision and /oauth/token20 per 15 minutesIP address
form-api-key-genGenerating a form API key in the form builder5 per hour—

The Limit name is what comes back in the limit field of a 429 body.

Blocklist API

  • The limit is per business, not per key. All of a business’s keys share one bucket of 120 requests a minute, so a second key doesn’t give you more headroom.
  • Zoie checks the key before it counts the request, so requests with a missing or bad key don’t use up the business’s allowance. They still count towards global-ip.
  • A check per form submission fits comfortably for most sites. If you need the whole list, sync it with GET /blocklist?since=... on a schedule rather than calling /check in bulk.

Forms API

public-lead is built for visitors’ browsers, where each visitor has their own IP address. It’s counted per IP address and form, and loading a form (GET /forms/:id) and submitting it share the same bucket.

MCP server limits

Applies toDefaultCounted per
Every request to https://mcp-us.zoie.ai (initialize, tools/list, tools/call and so on)120 per minuteUser
tools/call for send_message10 per minute, on top of the limit aboveUser

The MCP server counts per user, not per connection: two clients connected by the same Zoie user share the allowance. Its 429 bodies are:

{ "error": "rate_limited", "message": "Too many requests." }
{ "error": "rate_limited", "message": "Too many outbound messages. Slow down." }

Campaign tools also refuse audiences larger than 500 leads by default. That’s a size cap rather than a rate limit. See Campaigns.

Reading the headers

Responses carry the IETF draft RateLimit headers:

RateLimit-Policy: 120;w=60
RateLimit: limit=120, remaining=87, reset=34
HeaderMeaning
RateLimit-PolicyThe limit and its window in seconds (w).
RateLimitlimit, how many requests are remaining in the current window, and seconds until it resets.
Retry-AfterSent only with 429: seconds to wait before retrying.

When more than one limit applies to a request, the headers describe the last one checked, usually the endpoint’s own. On a request rejected before that point, such as a 401 for a bad key, they describe global-ip.

The 429 response

The Zoie API answers every exceeded limit the same way:

HTTP/2 429
Retry-After: 42
Content-Type: application/json; charset=utf-8
{
  "success": false,
  "error": "Too many requests",
  "message": "Too many requests, please try again later.",
  "limit": "public-lead",
  "retryAfter": 42
}

oauth and form-api-key-gen use their own messages: “Too many OAuth requests, please try again later.” and “Too many API key generations, please try again later.”

Staying within the limits

  • Wait for Retry-After before retrying a 429. Don’t retry in a tight loop, because each attempt counts.
  • Watch remaining in the RateLimit header and slow down before it reaches zero.
  • Cache blocklist results for a short time if the same contact is checked repeatedly.
  • For MCP clients, avoid calling tools/list before every tool call. Every request counts.