The Qonversion API uses Project Key to authenticate requests. You can find your Project Key in your project's settings.
Authentication for the API is performed via HTTP Bearer Auth.
curl --request GET \ --url https://api.qonversion.io/v2/users/:id \ --header 'Authorization: Bearer PROJECT_KEY' \ --header 'Content-Type: application/json'
For requests in the testing environment, add
test_to the key. For example,
Qonversion Sample App Project Key
All examples in this documentation use Qonversion sample app Project Key. This allows you to test requests and get the data for the Qonvesion test app.
To get the data for your app, change the
PROJECT_KEYvalue to your Qonversion's Project Key.
Some endpoints require a secret key for authorization.
A secret key is a special key that provides access to advanced features of the Qonversion API, such as providing entitlements to your users. Any secret key can easily be recognized by the prefix
You can also use your secret key instead of the project key to perform any other request. The prefix
test_ works with secrets too.
You can find your secret key in your project's settings.
Keep you secret key safe
Secret API key should be only stored on your own server. Never use your secret key in Android or iPhone app.