Get Marketo Activities for Given Dates | Community
Skip to main content
Keerthana_Shan1
Level 2
January 24, 2019
Question

Get Marketo Activities for Given Dates

  • January 24, 2019
  • 2 replies
  • 2080 views

Hi Team,

I need to get activities of all lead processed for given date range or month. do we have any api to get these information.

Thanks.

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

2 replies

Josh_Hill13
Level 10
January 24, 2019

developers.marketo.com

depending on your need, a smart list would likely help.

Avtar_Singh1
Level 2
January 28, 2019

Hi Keerthana Shanmugam,

Marketo offers an endpoint to identify a list of activities that you can get using REST API. You’ll need to first retrieve a paging token for the datetime that you want to begin retrieving activities from. You then pass the paging token in the nextPageToken query parameter. Following is the example

GET /rest/v1/activities.json?activityTypeIds=1&nextPageToken=WQV2VQVPPCKHC6AQYVK7JDSA3I3LCWXH3Y6IIZ7YSGQLXHCPVE5Q====

You can optionally include either a listId query parameter to narrow your search to only those records included in a specific static list, or a leadIds query parameter and search for activities from only a specified set of leads. You can pass up to 30 leadIds as comma separated list.

I hope this is helpfull for you.

Best Regards,

Avtar Singh