total contacts count

I want to get a list of total Contacts and total Contacts pages with a method to get the total list of count and data. Example: /contacts I get 30 contacts max I get 100 contacts, if I want to know I need to call again and again the same method, then count list. A better method is a resource, contacts/count. or is there any way to get all the contacts in a single request or get total no of pages list so I can loop through and call the same API method again and again.

Login or Signup to post a comment