An easy way to query newly unsubscribed leads | Community
Skip to main content
February 12, 2014
Question

An easy way to query newly unsubscribed leads

  • February 12, 2014
  • 5 replies
  • 1228 views
Is there any way to query for newly unsubscribed leads from the API? We'd like to sync this to our CRM, which actually trickles down lead updates back down to Marketo. We'd like to ensure that we're not sending to these individuals and have the CRM override our Marketo settings.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

February 12, 2014
You could use the getLeadChanges method and filter for activityNameFilter == Unsubscribe Email
February 18, 2014
Is there a way to retrieve each lead's info as part of the response xml without having to query for it separately?
February 20, 2014
No, you'll first have to get the lead id and then call getLead() to retrieve the lead's info
February 20, 2014
When I used getLeadChanges with the activityNameFilter, should the activityTypes being returned should only be Unsubscribe Email? Right now, when we use this, it's returning other activityTypes and not Unsubscribe Email.
February 24, 2014
You may have run into a bug.  Please log an issue and have someone in our support team help you.