Skip to main content

Documentation Index

Fetch the complete documentation index at: https://documentation.qonversion.io/llms.txt

Use this file to discover all available pages before exploring further.

The v4 API uses the same HTTP status codes and error envelope as v3.

HTTP Response Codes

CodeStateDescription
200SuccessEverything worked as expected
201CreatedOperation led to creation of a resource
204No ContentServer fulfilled request, no content in response body
400Bad RequestRequest not accepted, often due to missing required parameter
401UnauthorizedInvalid API key provided
403ForbiddenAuthorization by a Secret Key required
404Not FoundRequested resource does not exist
409ConflictResource already exists or operation conflicts with current state
422Unprocessable EntityCannot process request due to logical error
429Too Many RequestsRate limit exceeded
5xxServer ErrorsSomething went wrong on Qonversion’s end (rare)

Error Response Format

All v4 errors follow a single envelope keyed under error. There is no envelope-level meta (or _meta) key — validation field errors live inside error.details as {field, message} pairs:
{
  "error": {
    "type": "request",
    "code": "invalid_data",
    "message": "Validation failed",
    "details": [
      { "field": "short_name", "message": "Value is too long" },
      { "field": "last_name", "message": "Required" }
    ]
  }
}
error.details is omitted entirely (rather than emitted as null or []) when the failure is not field-scoped — for example, a 401 unauthorized or a 404 resource-not-found returns just {type, code, message}.

Error Types

TypeDescription
requestError in request validation (not enough data, invalid data, auth required)
resourceRequest is valid but the action could not be executed
logicalClient can execute action but there is an error in communicating with the application
internalAll request handling stages succeeded but an internal error occurred

Error Codes

Request Errors

CodeDescription
invalid_dataValidation failed. See error.details for the failing fields.
invalid_requestUnrecognized request URL
control_unauthorizedAuthorization required
control_forbiddenAuthenticated but not allowed (wrong key type or scope)
not_implementedFunctionality at the requested address is not implemented
rate_limitedToo many requests — back off and retry

Resource Errors

CodeDescription
not_foundRequested resource not found
already_existsRequested resource already exists
conflictResource state conflicts with the requested operation

Logical Errors

CodeDescription
purchase_fraudCould not validate purchase with store, potential fraud
relation_not_foundNested objects could not be found or associated

Internal Errors

CodeDescription
storage_errorData was not saved
network_errorInternal services interaction failed
unknown_errorUnknown reason