The Copyleaks API uses standard HTTP response codes to indicate success or failure. Understanding these codes helps you build robust integrations.

HTTP Errors

Our API returns structured error responses with the following error types:
  • invalid_request_error: Invalid request format, missing parameters, or malformed data.
  • authentication_error: Authentication failed due to invalid credentials, disabled account, or too many failed login attempts.
  • payment_error: Payment-related issues including insufficient credits, expired subscriptions, or team billing errors.
  • api_error: Internal server errors, service overload, timeouts, or temporary unavailability.

Error Response Format

All errors return a consistent JSON structure:

Error Reference