Re: Getting Number of leads in smart list - REST API

Anonymous
Not applicable

Getting Number of leads in smart list - REST API

How can i get the nimber of leads in a smart list using rest API? Is there any endpoint for that? If any please share the documentation with your answer.

1 REPLY 1
Grégoire_Miche2
Level 10

Re: Getting Number of leads in smart list - REST API

Hi Arunkumar,

There is no end point for smart lists. There is only end points for static lists and even though, the endpoints do not return the number of leads in the list. So, it seems that the only way to get the info for a smart list is to

  1. Copy the smart list in a list in Marketo
  2. Fetch all the leads in the list through the API
  3. Do the count on the client side

Here is the idea I entered for static lists:

And the idea for smart lists:

-Greg