This repo pulls published REST specifications for Qlik Cloud from Qlik Developer each night and syncs to a Postman collection at Qlik Cloud APIs.
Individual API specification files for published Qlik Cloud services.
qlik-cloud.json- Complete OpenAPI specification combining all APIs into a single file.
If you wish to be able to sync to the latest release, fork the sync'd collection from Qlik Cloud APIs.
To import manually:
- Download the consolidated specification:
consolidated/qlik-cloud.json - Open Postman and click "Import"
- Select the downloaded
qlik-cloud.jsonfile - Import - Postman will create a new collection with all Qlik Cloud APIs
To make your credentials more secure, and to keep them portable, it's recommended
to use environments to store them. Both options below are supported for the /api
path in the collection, while the /login and /oauth paths require different
patterns.
For simple integration and testing where you want to call endpoints with the permissions of your interactive user:
- Generate an API key at https://qlik.dev/authenticate/api-key/generate-your-first-api-key/
- In Postman, set the authentication type to "Bearer Token"
- Create an environment in Postman:
baseUrl: The tenant URL, in formathttps://tenantname.region.qlikcloud.comapiKey: The API key for your user
- Update the
Authorizationconfiguration for the/apipath toBearer Token, and set the value ofTokento{{apiKey}}.
For production applications and automated systems, or where you want fine grain control of scopes and permissions:
- Create an OAuth2 client at https://qlik.dev/authenticate/oauth/create/create-oauth2-client
- Configure the client with appropriate scopes
- Create an environment in Postman:
baseUrl: The tenant URL, in formathttps://tenantname.region.qlikcloud.comclientId: The client ID for the Qlik Cloud OAuth M2M clientclientSecret: The client secret for the Qlik Cloud OAuth M2M client
- Update the
Authorizationconfiguration for the/apipath toOAuth 2.0, with:
Add auth data toset toRequest Headers(default)Header Prefixset toBearer(default)Token Nameset to a string that explains to you what the token is for (e.g.Qlik Cloud)Grant typeset toclient_credentials(default)Access Token URLset to{{baseUrl}}/oauth/tokenClient IDset to{{clientId}}Client Secretset to{{clientSecret}}Scopeset to match hat you configured in 2, e.g.user_default admin_classicClient Authenticationset toSend client credentials in body
- Click
Get New Access Token, and follow the prompt - Ensure
Auto-refresh Tokenis toggled to on
The consolidated OpenAPI specification can be used with:
- Postman (import as OpenAPI specification, or fork existing)
- OpenAPI generators for client libraries
- API documentation tools like Swagger UI, Redoc
- API testing tools like Insomnia
- Any OpenAPI-compatible tool