How to get the "total records attribute" of users using Rest API for cloud addon

Hi folks, I’m trying to get the list of users by calling the Rest API for cloud addon… but the JSON response doesn’t show the “total” number of users… I’m trying to do pagination for which I need this total count… Can someone help me with this? Or if there’s any other API where I can get user list along with total count would also be of help… TIA!

Hi @NishantV

There are a couple of API calls to get all users, but neither seem to have header info with total numbers. The only way I can think of for you is to loop through all returned records and count how many there are - not ideal, I know