Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,@Michael_Tarallo @mbj @petter @richbyard @Mp3Leaks @rohitk1609 @Marcus_Spitzmiller @ergustafsson @Masaki_Hamano @Sue_Macaluso
I am trying to run an automation through API in Postman.
I am not able to run the automation .
Can u help me in this and please if u can provide me the script of api call to run the automation.
Thanks in Advance
Aditya Pratap Singh
Hello Aditya - I did not see the tag in my notifications or I would have replied sooner - I just happen to be going through unanswered threads.
So yes this is possible - using the /run endpoint. You would need your developer API key and currently today only the owner of the automation can run it over the API.
https://qlik.dev/apis/rest/automations#%23%2Fentries%2Fv1%2Fautomations%2F-id%2Fruns-post
keep in mind that you need to create an API KEY in the Management console
You can also use a simple URL call as well - in app auto it will show the call when setting up a trigger:
This can also be called from a button in Qlik Sense - (just in case you need that as an option)
Hope this helps 🙂
Hi @aditya_pratap , here's an example of this in Postman, I've set Auth to No Auth. Does it work if you use the same setting? If not let me know, feel free to share a screenshot of your setup in a direct message.
Hi @Emile_Koslowski @Michael_Tarallo
I am getting this error.
As shown as below : I am using this Webhook URL in postman to call and in authorization i am using bearer key or api key.
Please help me in this .
Thanks In advance
Aditya
Hello Aditya - I did not see the tag in my notifications or I would have replied sooner - I just happen to be going through unanswered threads.
So yes this is possible - using the /run endpoint. You would need your developer API key and currently today only the owner of the automation can run it over the API.
https://qlik.dev/apis/rest/automations#%23%2Fentries%2Fv1%2Fautomations%2F-id%2Fruns-post
keep in mind that you need to create an API KEY in the Management console
You can also use a simple URL call as well - in app auto it will show the call when setting up a trigger:
This can also be called from a button in Qlik Sense - (just in case you need that as an option)
Hope this helps 🙂
Hi @Michael_Tarallo
Thanks for your reply .
I want to run my automation from postman .
I have already created the api key from Qlik. and I also have automation Id and tenant id also.
But when i try to post that query it will through the 505 error.
curl 'https://{tenant_id}.sg.qlikcloud.com/api/v1/automations/{ID}/actions/execute' \
-XPOST \
-H 'X-Execution-Token:{Token_id }'
I am not able to right exact query to run that automation. But i am able to reload the app using app_id and api key.
Thanks
Aditya
Ok I forwarded this to someone who can take a look.
Hi @Michael_Tarallo Good Evening ,
Can you help me in this . Runs automation through Postman using api id .
can u show me step by step , I tried soo many time but getting 505 server error or 404 .
It would be great help from your side.
Thanks In Advance.
Aditya
Hi Aditya - I asked a PM to step it - I will stay on it until I see a reply.
Hi @aditya_pratap , here's an example of this in Postman, I've set Auth to No Auth. Does it work if you use the same setting? If not let me know, feel free to share a screenshot of your setup in a direct message.
Hi @Emile_Koslowski ,
Thanks for giving the answer. But i am not able to see clearly the picture, can you reshare the screenshot. So i can see how you are calling the API.
I have API key and Automation ID what else we need here to run the automation through postman .
Thanks in advance !!
Thanks
Aditya
Hi Aditya - I asked Emile to reply in case he did not see the notification.
@aditya_pratap can you click the screenshot? It should pop-up and become a clear image.