APIs & Integrations

jacobdillson
Member

Seems like the GetById Workflow Enpoint is not working...

Currently working on a project and I have tried over and over again to gain access to the workflows. First I realized that the GetAllWorkflows endpoint does not return actions (to my knowledge may have overlooked) and then resorted to snatching the ids from those to do individual pings. However it seems as if the endpoint is not running. Even currently clicking the demo url that you have to show the proper JSON return, it says even that workflow does not exist. I would like to have this answered and would love to have this fixed as soon as possible.

 

Thanks you guys and I appreciate the work you do,

J

 

p.s. Aplogies if this is the wrong label and or Forum

0 Upvotes
2 Replies 2
hot_z
Contributor

Seems like the GetById Workflow Enpoint is not working...

Hi there,

 

To be extra sure here, can I confirm that you are using this following endpoint indicated at the following documentation? (https://developers.hubspot.com/docs/methods/workflows/v3/get_workflow)

 

If so, I've actually tried hitting the example GET URL request using POSTMAN after swapping out `10900` for the correct workflow ID in the HubSpot portal and the `demo` with an actual hapikey string:

 

https://api.hubapi.com/automation/v3/workflows/10900?hapikey=demo


What I've seen is that the endpoint successfully returns data in a similar format as indicated in the documentation's example response section. If you're not getting any data returned, are you able to share more information of what you're seeing? Do we have any error codes? Can you share what endpoint you were exactly hitting? Was the workflow ID used valid? Thank you! 

jacobdillson
Member

Seems like the GetById Workflow Enpoint is not working...

Thank you for your reply,

 

Currently I am trying to get Postman to work for me (have not used it since the google chrome extension days). I am currently retrieving the Ids of the workflows within an API and then querying them individually. However I am getting the Ids, but when I try to retrieve the individual workflow I am returned this error JSON snippet: 

 

{"status":"error","message":"workflowId=3976796 does not exist","correlationId":"e1703dc8-98fe-4709-a733-d0b174210859","requestId":"1f5c3e230d78378194a529e100fdca2b"}

The current URL request I am using to get this is (with the API key redacted):

https://api.hubapi.com/automation/v3/workflows/3976796?hapikey={redacted}

Any help would be greatly appreciated.

0 Upvotes