Re: Get Marketo Activities for Given Dates

Keerthana_Shan1
Level 2

Get Marketo Activities for Given Dates

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.

2 REPLIES 2
Josh_Hill13
Level 10 - Champion Alumni

Re: Get Marketo Activities for Given Dates

developers.marketo.com

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

Avtar_Singh1
Level 2

Re: Get Marketo Activities for Given Dates

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