API: bug in users/search endpoint

It’s paginated, from the response example of web api doc for api/users/search

{
“paging”: {
“pageIndex”: 1,
“pageSize”: 50,
“total”: 2
},
“users”: [
{

You may use ps=500 (pagesize 500 is max) instead of default pagesize 50.
If that is not enough you need to get total pagecount and use a loop, similar to that example

1 Like