Error responses
Every error has the same shape: a code, a message, the related param, a doc_url, and a request_id. Build your logic on code, not on message.
Status codes
400, 422 — the request is invalid. Fix it before retrying.
401 — the API key is missing or invalid.
402 — not enough credits.
403 — your plan or role doesn’t allow this action.
404 — not found. This can also mean the resource belongs to another workspace.
409 — conflict, such as a list name that’s already taken.
429 — rate limited. Wait and retry.
500 — server error. Retry.
Rate limits
Limits apply per user, per minute and per day, and differ by area — for example, prospect search allows 20 requests per minute and 1,000 per day, while lists allow 120 per minute and 10,000 per day. Refused requests cost nothing. Check the RateLimit-Remaining and RateLimit-Reset headers, and honor Retry-After on a 429.
MCP connections have their own limit of 60 calls per minute and 5,000 per day.
Getting help
Include the request_id when you contact support about an API error.