XF 2.2 Selecting users based on criteria using the API

Reflect

Member
I'm looking at the API documentation to work out how to select all users based on various criteria, such as primary or a secondary usergroup.

The documentation suggests only one route to get users: https://xenforo.com/community/pages/api-endpoints/#route_get_users_

I only want to select a dozen out of several hundred thousand members, and paging through all those members would be the wrong way to go about it.

How can I do this with the API?
 
I don't think that's supported by the API. You'll probably need to add a custom endpoint for that first via an add-on.
 
Top Bottom