APIs & Integrations

araiiinabdami
Member

Is there a HubSpot endpoint to retrieve all the workflow history of a specific client?

As shown on the next image, I'm on the subscription history tab (events) inside a workflow, and it shows all the workflows that were executed. Clicking on the first one, it opens this "workflow history" on the right side, containing the details of the path for that specific event.

FAKVy.png

I can get this subscription history from this endpoint https://api.hubapi.com/automation/v3/logevents/workflows/{{workflowID}}/filter?hapikey={{apiKey}} as shown here, and for each event it returns an ID of the workflow.

I want to search for this workflow ID and get the workflow history (on the right of the previous image). API

Is it possible?

Thanks.

0 Upvotes
dennisedson
Community Manager
Community Manager

Is there a HubSpot endpoint to retrieve all the workflow history of a specific client?

@araiiinabdami 

You can get all of the workflow IDs with  this endpoint

The endpoint that you mentioned is no longer supported so I would not rely on it as a permanent solution.

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes