Is there any way to get the lists for an Lead.. (ie) If I pass the Lead id, it should return the lists.
Not possible at this time. Good idea though.
Clumsy-but-working workaround: maintain a JSON array in a Textarea field that echoes their list membership. Use a webhook to maintain the array. Obvs. requires a set of operational trigger campaigns but will do the trick and can focus on a strategic subset of important lists.
Thanks for the replies.
Could you please elaborate more on your solution. We are actually planning to push the marketo id to a queue to do the post processing in the backend to pull the data.
P.S. Be aware that changing a list's name after it's created will disrupt the process (which, to be clear, is also true of your originally desired feature, since only the list ID is immutable, not the name).
I got you, thanks Sanford.
Retrieving data ...