Skip to main content
July 6, 2015
Question

Rest API for lead information

  • July 6, 2015
  • 2 replies
  • 1004 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

July 6, 2015

Most of this comes from the Activity APIs such as Get Lead Activities » Marketo Developers

July 7, 2015

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.