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.json
file - 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.com
apiKey
: The API key for your user
- Update the
Authorization
configuration for the/api
path toBearer Token
, and set the value ofToken
to{{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.com
clientId
: The client ID for the Qlik Cloud OAuth M2M clientclientSecret
: The client secret for the Qlik Cloud OAuth M2M client
- Update the
Authorization
configuration for the/api
path toOAuth 2.0
, with:
Add auth data to
set toRequest Headers
(default)Header Prefix
set toBearer
(default)Token Name
set to a string that explains to you what the token is for (e.g.Qlik Cloud
)Grant type
set toclient_credentials
(default)Access Token URL
set to{{baseUrl}}/oauth/token
Client ID
set to{{clientId}}
Client Secret
set to{{clientSecret}}
Scope
set to match hat you configured in 2, e.g.user_default admin_classic
Client Authentication
set toSend client credentials in body
- Click
Get New Access Token
, and follow the prompt - Ensure
Auto-refresh Token
is 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