I know how to get Campaign data through the rest API:
Get Lead by Id » Marketo Developers
But how do I get information like e-mail delivery count, open count, engagement, etc through the API?
Dan
Most of this comes from the Activity APIs such as Get Lead Activities » Marketo Developers
Hi
1. Create static lists for each trigger event.
2. Create trigger Campaigns for each trigger and set "add to list" at Flow.
3. A few days later, if you want, you make a call API Get Multiple Leads by List Id » Marketo Developers for each trigger.
Example /rest/v1/list/1234/leads.json?fields=id
4. These response JSON array size are the counts as you need.