Get Members of Smart List via API | Community
Skip to main content
January 10, 2017
Solved

Get Members of Smart List via API

  • January 10, 2017
  • 1 reply
  • 5266 views

I've been looking through the developer documentation and found information around accessing members of static lists, among other things, but nothing surrounding smart list membership.

Does anybody have any experience with this and know how to make this possible?

Thanks!

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

Hi Jeffrey,

Smart list is not currently an object which membership can be queried through the API. If you are wanting a bring back a list of qualified leads, I suggest using a smart campaign to add members to a program and use the GET /rest/v1/leads/programs/{programId}.json. It will accomplish the same task you seek and give you flexibility on additional qualifiers unlike a static list (e.g. program tag).

1 reply

WyattBaAccepted solution
New Participant
January 10, 2017

Hi Jeffrey,

Smart list is not currently an object which membership can be queried through the API. If you are wanting a bring back a list of qualified leads, I suggest using a smart campaign to add members to a program and use the GET /rest/v1/leads/programs/{programId}.json. It will accomplish the same task you seek and give you flexibility on additional qualifiers unlike a static list (e.g. program tag).

January 11, 2017

Thanks Wyatt,

I did consider program membership to accomplish this, and I appreciate the suggestion!

Context: I have two smart lists - one of leads acquired in the last 7 days, and one with leads that were updated (any data value) in the last 7 days. What I'm thinking I'll have to do is have a series of Smart Campaigns whose sole job is to listen for membership of these smart lists, and then add or remove them from static lists when criteria changes.

We're going to be using this information to feed into a non-integrated CRM, so that's why we're looking into using the API for this.

Thanks!

New Participant
January 11, 2017

Hi Jeff,

That solution makes sense. If you have a busy system, I recommend putting an empty Change Score flow step at the top to give it lower priority over the more important campaigns in your instance. Not sure what volume you will be working with but it doesn't hurt to prioritize your smart campaigns.