Get the number of people in a filter

Hi all,
I wish to get the total number of people who fall under a specific filter. For example, there are 10 people under filter no.100.

I don’t see that option with the GET request:
https://api.pipedrive.com/v1/filters/100?api_token=xxx

Is there a way to get that number through an API request?
Thanks!

Not directly via the API request, but you can use a request like this with a Filter, https://api.pipedrive.com/v1/persons?filter_id=68&start=0&api_token= and then apply logic on your end to count the number of results from the filter.

2 Likes

Thanks David, that’s perfect!

1 Like