Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Ernesto_García
Partner - Contributor II
Partner - Contributor II

REST API authentication in data integration projects.

Hello folks,

I'm developing a monitoring app in Qlik Sense SaaS that uses the Get project task runtime state REST API:
https://qlik.dev/apis/rest/di-projects/#get-api-v1-di-projects-projectId-di-tasks-dataTaskId-runtime...

The issue is that the bearer token must be regenerated daily, as there doesn’t seem to be a way to create a token that lasts for more than one day.

Expiration period selection has only two options.Expiration period selection has only two options.

 

Is there a way to define a longer validity period for the token, or alternatively, use a different authentication method for this API?

 

King regards,

Ernesto.

 

Labels (4)
1 Solution

Accepted Solutions
TheLazyDeveloper
Contributor III
Contributor III

You can increase the expiration time if you're a admin.

https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-SaaS-Change-maximum-token-expirat...

If that's not an option I think there is an automation template that can refresh a key for you:

TheLazyDeveloper_0-1758807011827.png

 



View solution in original post

2 Replies
TheLazyDeveloper
Contributor III
Contributor III

You can increase the expiration time if you're a admin.

https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-SaaS-Change-maximum-token-expirat...

If that's not an option I think there is an automation template that can refresh a key for you:

TheLazyDeveloper_0-1758807011827.png

 



Ernesto_García
Partner - Contributor II
Partner - Contributor II
Author

Thank you, that worked perfectly.

Kind regards,

Ernesto.