Get single lead activity using REST

Anonymous
Not applicable

Get single lead activity using REST

Hello, I am looking for a way to get the activity of a single lead using the REST API.

Currently it seems like I must request the activity of all leads since a given date with a given set of activity types. Then, process those in batches of 300, filtering down to only the one lead I am interested in. This seems fairly inefficient.

The lead database's details page in Marketo's backend has an activity log similar to what I would like. Also, the SOAP API looks like it has something similar to what I want with getLeadActivity. I find it odd that the REST API doesn't seem to have something like this. I'm hoping I'm just missing something obvious.

Thanks for any input you can provide on this topic.

2 REPLIES 2
John_Clark1
Level 10

Re: Get single lead activity using REST

Hi Evan,

I don't think this is possible.  The Get Lead Activities does allow a filter of List Id, but that means your lead would have to be the only member of a static list.  If it's only for one or two leads this could work, but it seems like it would be a lot of work for very many more than that.

John

Anonymous
Not applicable

Re: Get single lead activity using REST