Is there a way to get all contacts in a workflow without webhooks?
There isn’t currently an endpoint to get the contacts enrolled in a workflow, but you can create a smart list of contacts enrolled in a workflow in-app. You can also take the opposite approach and get a contacts current workflow enrollments:
I am trying to get either all contacts in a workflow or all the workflows a contact is present in? I have been hitting Current enrollment | Workflows API of hubspot through postman but not getting any results back. I have the vid of a contact and hubspot api key as well and using basic auth for authorization but I get blank array in response. Also, the response status is 200. Can you help with this please?
Can you give me the full request you're making? That endpoint is supposed to give you the workflows that a contact is currently enrolled in.
I'm sorry I wasn't entirely clear; can you also send me your Hub ID so that I can take a look?