code field. Always branch on code rather than the human-readable error string, which may change between releases.
Authentication and authorization
Billing and tier
Project and analysis errors
Webhook errors
Webhook errors are surfaced in the Audity dashboard under your webhook delivery log. They are not returned inline to the original API caller.Webhooks are available on Team and Enterprise plans. See Tier limits for plan details.
Rate limiting
Rate limits by endpoint class:
Lead errors
General guidance
- Always branch on the
codefield, not theerrorstring. - A
403withrequiredTiermeans a plan upgrade is needed, not an auth issue. - A
402always means credits are exhausted, checkGET /api/user/creditsbefore batch operations. - For transient errors (5xx, 429), retry with exponential backoff.
Related
- Tier limits, plan comparison including analysis limits
- Glossary, definitions of credits and other terms

