What I’ve been trying is to get persons with the total number of persons, filtering the results with names.
I found this post, which shows that adding &get_summary=1 will add total_count in additional_data field.
However, this get_summary parameter doesn’t seem to be available for the /persons/find route, which allows you to filter persons by name.
For example…
https://api.pipedrive.com/v1/persons?api_token=xxx&get_summary=1&limit=10
This will give you 10 persons AND the total number of persons.
However…
https://api.pipedrive.com/v1/persons/find?term=john&api_token=xxx&limit=10&get_summary=1
This will give you all the persons with “john” in its name, but get_summary=1 is disregarded. So, total_count isn’t attached to additional_data.
Is there any way to filter persons by name AND get the total number of persons?
Any advice will be appreciated.