Limits, paging, idempotency
View as MarkdownRate limits
Section titled “Rate limits”Each credential has its own limit: 60 requests a minute, unless an API key carries a different limit of its own. The whole workspace also has a shared limit across all its credentials, so creating more credentials does not buy more traffic. The workspace’s plan sets it: 300 requests a minute on Team, 1,200 on Scale and Enterprise, unless an Enterprise agreement sets another. Where no plan limit applies, it is 600 requests a minute. The window is a calendar minute.
The Free plan includes no REST API or MCP calls: every request answers
403 plan_required. Custom events and motion starts need the Scale plan. See
Plans.
Every answer carries the window that is closer to its limit:
RateLimit-Limit: 60RateLimit-Remaining: 12RateLimit-Reset: 41Past either limit you get 429 with Retry-After:
HTTP/1.1 429 Too Many RequestsRetry-After: 41
{ "error": { "type": "rate_limit", "code": "rate_limited", "message": "…", "param": null, "doc_url": "…", "request_id": "…" } }Wait Retry-After seconds, then try again. The MCP server uses the same two
limits.
Two endpoints have a workspace budget of their own on top:
POST /api/v1/leads: 60 leads a minute, across all the workspace’s keys.- Custom events: 1,000 events a minute and 100,000 a day (UTC), counted by event, so a batch of 100 counts as 100. See Custom events.
Idempotency
Section titled “Idempotency”A retry must never do the same thing twice. Send an Idempotency-Key header:
any unique string of 1 to 255 visible ASCII characters. Reuse it only when you
retry the same request.
| Endpoint | Idempotency-Key |
|---|---|
POST /api/v1/leads |
Optional |
POST /api/v1/events, POST /api/v1/events/batch |
Optional (each event’s own id already makes a retry safe) |
POST /api/v1/motions/{id}/start |
Required |
For 24 hours after the first request:
- the same key with the same request gets the first answer again, with the
header
Idempotent-Replayed: true, and nothing happens twice; - the same key with a different request answers
422 idempotency_mismatch; - the same key while the first request is still running answers
409 idempotency_in_flight.
A motion start answers a replay with the decision made since the first
request (200 with "status": "decided") once there is one.
A key belongs to the credential that sent it, so two integrations cannot
collide. For an OAuth connection it belongs to the connection, so a retry
after the access token was refreshed still matches. If the first request
failed on our side (500), the key is released and the retry runs.
Request size
Section titled “Request size”| Where | Largest body |
|---|---|
POST /api/v1/leads |
256 KB |
POST /api/v1/events, POST /api/v1/events/batch |
256 KB |
POST /api/v1/motions/{id}/start |
32 KB |
| The MCP server | 1 MB |
Paging
Section titled “Paging”Lists use keyset pages. You pass limit (1 to 100) and the cursor from the
previous page, and every list answers the same shape. The lists are
GET /api/v1/events and GET /api/v1/event-types.
{ "rows": [], "nextCursor": "…", "total": 1234 }total is the exact count. Keep passing nextCursor until it is null.