Is it possible to get contacts by workflow id for a given timeframe?
Hi there,
I’m trying to do some reporting for my customers. I am a developer. I have API access. I’m trying to get the unique contacts for a given workflow id… more importantly, within a given timeframe.
You can use the log events endpoint (below) to get a history of events for that workflow, which will include the contact vid in the event JSON. With the contact vid, you can then use the contacts API to get the contact info. You can also filter the results to return only specific timeframes, events for specific contacts, and/or specific workflow event types (e.g. WORKFLOW_COMPLETED).