Secret Key
All v4 public endpoints require a Secret Key. Unlike v3, which mixed SDK-level access tokens with privileged server keys, v4 exposes only the server-to-server surface — so a single token type is used for every operation, from reads to privileged mutations (granting entitlements, managing products, experiment overrides, rotating credentials).- Prefixed with
sk_ - Found in Settings → Developer → Keys in the Qonversion dashboard; a project can have up to 10 Secret Keys, so you can rotate without downtime — see How to manage and rotate project keys
- Passed as
Authorization: Bearer sk_…
How to work with sandbox data
Use your Secret Key exactly as shown in the dashboard:Authorization: Bearer sk_YOUR_SECRET_KEY.
Endpoints that support sandbox data take an explicit environment value. For example, creating a user accepts prod or sandbox, and scheduled reports use production or sandbox. Analytics, customers, and screen and experiment analytics endpoints take a numeric environment query parameter: 0 for sandbox, 1 for production.
Error codes
See Handling Errors for the full error envelope.