Alteryx Cloud API: Why Am I Getting an Empty Response for Flows?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello community,
I need help with the Alteryx Cloud API. I'm trying to access the list of workspaces through the URL https://us1.alteryxcloud.com/v4/workspaces and it's working correctly, returning the expected data.
However, when I try to access the list of flows through the URL https://us1.alteryxcloud.com/v4/flows, I'm getting an empty response ({"data": []}).
Can someone help me understand what's going on and how I can resolve this issue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @GabrielFernandes,
The URL you can use to access your designer cloud workflows is: https://us1.alteryxcloud.com/svc-workflow/api/v1/workflows
We're working to make the API docs for these endpoints accessible to end users. I can share that information once it is available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much!!
You can see my workflow with this URL: https://us1.alteryxcloud.com/svc-workflow/api/v1/workflows
Do you know which command to give Run in workflow or plans?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Gabriel,
Great Question!
This is the API to call
POST https://us1.alteryxcloud.com/svc-workflow/api/v1/workflows/{id}/run
Just replace {id} with the id of your workflow (which should be returned when calling the LIST API provided by Kyle)
To get an API Token, you should use the following steps
1. Go to User Preferences by clicking on the icon on the top right
2. Go to the Oauth 2.0 API Tokens page (https://us1.alteryxcloud.com/cloud-portal/preferences/oauth2-api-tokens)
3. Generate a new API Token
You should then be able to use this API token to make requests. If you are using Postman, you can just select authorization type "Oauth 2.0" in the Authorization tab
Let us know if we can be of more assistance
Best,
Nikhilesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Deleted my comment - see Nikhilesh's comment above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you all for your help
