How to get list of campaigns that a lead is a part off?

Anonymous
Not applicable

Hi,

I would like to know all the campaigns that a lead is a part off via an API endpoint.

I checked the API documentation for marketo to see if there is an endpoint that can provide me with this information.

It doesn't look like there is a direct endpoint I can use to get that information.

Maybe there is an indirect way to get that information using some existing endpoint.

Either way, could you please advice me on how I may proceed?

Thanks

Tags (2)
3 REPLIES 3
Grégoire_Miche2
Level 10

Hi AJ,

To get it though the API, you will have to export activity logs and sort them out. It's not an easy task, as there is nothing such as a "became member of a campaign" activity log.

I had the same idea, but from the UI perspective, a couple of days ago :

-Greg

Grégoire_Miche2
Level 10

And you may also like this idea :

Justin_Cooperm2
Level 10

Leads aren't part of any campaign until the point-in-time when the campaign has executed (whether batch or trigger). Are you really trying to ask, "how can I see what campaigns a lead has gone through?"