Request new leads on static list with REST API | Community
Skip to main content
Level 1
July 18, 2016
Question

Request new leads on static list with REST API

  • July 18, 2016
  • 1 reply
  • 946 views

We are making the conversion from the SOAP to REST API.  With SOAP, the streamPosition was used to determine when new leads were added to a static list.  I can't seem to figure out the equivalent functionality in REST.  I have used "Get multiple leads by list id", however, there isn't an easy way to only retrieve the new leads on the list.  Any suggestions?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Grégoire_Miche2
Level 10
July 18, 2016

Hi Rebecca,

I am afraid that you will have to use a more sophisticated logic here:

  • Prepare a smart campaign that remove the leads from the list and add them to a second, "history" list.
  • Once you have retrieved the leads from Marketo, just trigger that SC for all the leads you have retrieved, using the "request campaign" API

Greg