Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Congrid
Contributor III
Contributor III

Access Qlik NPrinting API's using JWT auth token

I am trying to trigger an NPrinting task externally using API's.

Using the JWT authentication token I send a GET request to api/v1/apps endpoint, to get a list of all the apps my user can see in NPrinting.

I get a 403 error. 

I tested that the auth token works from browser. But on the api request I get a 403.

Any leads on how to use JWT auth to call any Nprinting API's?

Labels (2)
1 Solution

Accepted Solutions
Damien_Villaret
Support
Support

Hi @Congrid 

Did you go through the steps in this article already? Also, which version of NPrinting are you using?
https://community.qlik.com/t5/Official-Support-Articles/NPrinting-How-to-configure-and-call-APIs-wit...

 

If the issue is solved please mark the answer with Accept as Solution.

View solution in original post

3 Replies
Damien_Villaret
Support
Support

Hi @Congrid 

Did you go through the steps in this article already? Also, which version of NPrinting are you using?
https://community.qlik.com/t5/Official-Support-Articles/NPrinting-How-to-configure-and-call-APIs-wit...

 

If the issue is solved please mark the answer with Accept as Solution.
Hatus
Partner - Creator II
Partner - Creator II

I have the same issue. It works using the pem files from C:\ProgramData\NPrinting\certificates but it doesnt work with a purchased certificate for production environment.

Version is February 2024 Patch 2

Congrid
Contributor III
Contributor III
Author

Thanks Damien,

The code snippet in the linked post helped me to test the connectivity with the token. Appreciate it.