Skip to main content

Error format

Errors return JSON with a readable message and, usually, a machine-readable code:
Validation errors may also include details about which field was wrong. Chat-list requests (GET /api/ai-chat/conversations) return 400 if a nonempty workspace_id or project_id is malformed. The error is “workspace_id must be a valid workspace id” or “project_id must be a valid project id”. Use the actual workspace or project ID and retry the request.

Status codes

Rate limits

Some endpoints, mainly AI, Inbox and import endpoints, are rate limited per user. Limits are higher on paid plans: Starter gets 3 times the Free limit and Scale 10 times. When you hit a limit you get 429 with these headers: Back off and retry after Retry-After. The MCP server has its own limits; see MCP errors and limits.

Credits

Endpoints that run paid actions (AI replies, paid tools, Lead Finder imports of 1,000 leads or more) charge the workspace’s credits exactly as the app does. If there aren’t enough, you get 402. See Credits.