I have a requirement to query the total number of users within our SendBird application. No where in the dashboard do I see this information. To my knowledge this functionality does not exist in the platform API.
Currently I have to hit list users with the max limit (100), and iterate forward using the next token until the end. Currently we have 20k+ users and this requires 200+ API calls. We do have a means of managing our request rate.
This is highly inefficient and I have not been able to find another solution to procure this information.
On top of that, the last page token in our request chain consistently throws a 500 error with no details. After several attempts the final page will respond.
Any insight or assistance would be greatly appreciated.