Rest api for performing aggregate functions such as count of leads?

Anonymous
Not applicable

Rest api for performing aggregate functions such as count of leads?

I am a developer i want to know the count of leads returned in my response, however i can't find anything about that in the documentation. can someone help me

1 REPLY 1
Grégoire_Miche2
Level 10

Re: Rest api for performing aggregate functions such as count of leads?

No, this is not possible.  The rest API does not return a count, only the list of leads (with a max of 300) and a token if your request returns more than 300 (or whatever the batch size is).

Would be worth an idea though.

-Greg