In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Alteryx Gallery API call failing

parparab
7 - Meteor

Hi Team

 

We are trying to run workflow stored in Alteryx Gallery using API call. For that to check API call is working we are using  following URL:- http://localhost/gallery/api-docs/#!/user-workflowsV2.json/EnqueuePOST

Below screen is successful output

 

parparab_0-1607694542164.jpeg

 

 

With Same approach I developed new workflow which gives response URL as follows

http://<lP>/gallery/api/v1/workflows/subscription/<APPID/jobs?&oauth_consumer_key=<key>&oauth_nonce=...=

 

But every time it gives following output

parparab_1-1607694542169.jpeg

 

 

Can you please help me on this.

2 REPLIES 2
MichalM
Alteryx Alumni (Retired)

@parparab 

 

The syntax of the POST request to execute a workflow is

 

http://alteryx/gallery/api/v1/workflows/{APPID}/jobs/?oauth_timestamp={TIMESTAMP}&oauth_signature_method=HMAC-SHA1&oauth_consumer_key={KEY}&oauth_version=1.0&oauth_nonce={NONCE}&oauth_signature={SIGNATURE} 

 

In your request, you're also referencing SUBSCRIPTION which is incorrect

 

subscription.png

 

parparab
7 - Meteor

Thanks MichelM for your responsec, but issue got resolved after doing correction in URL path itself.