How to determine that contact was enrolled to workflow ?

How to determine that contact was enrolled to workflow via API ? I know that this endpoint is deprecated: https://legacydocs.hubspot.com/docs/methods/workflows/log_events . and this endpoint https://legacydocs.hubspot.com/docs/methods/workflows/current_enrollments shows only if contact currently on some stage of workflow.

But I need to determine if contact was ever enrolled to workflow, is it possible using API ?

Hey @andrey_germanov,

It looks like this endpoint wasn’t used very often and thus sunset. I’ve searched around a bit and don’t think it’s possible via the UI. Could you use Active lists as a possible alternative and then query that list via the API? You would need to set up that list first hand though.

Hope this helps!