Skip to main content
All error responses from the Audity API return JSON with a stable 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 code field, not the error string.
  • A 403 with requiredTier means a plan upgrade is needed, not an auth issue.
  • A 402 always means credits are exhausted, check GET /api/user/credits before batch operations.
  • For transient errors (5xx, 429), retry with exponential backoff.
  • Tier limits, plan comparison including analysis limits
  • Glossary, definitions of credits and other terms