How to get registered users length

Posted in General by amir asadzade Mon May 02 2016 11:59:02 GMT+0000 (UTC)·1·Viewed 1,308 times

i want to get how many users registered as string
Bradley Serbus
May 2, 2016

Hi Amir,

There's two ways. First, you can do a search for all users by doing a GET to '/users', and count them by iterating through the results. Here's the documentation for the Search Users call:

A second way is to increment an app metadata key every time a user is successfully created. In the call, make sure to use the app's Buddy ID. The response will contain the current count. Here's the documentation for metadata increment call:

If you have any other questions, please let me know.


Bradley Serbus marked this as solved
Markdown is allowed