The J4 REST API allows me to GET a full list of users, but I have not found any example of how to filter such a request, for example by searching by userID or email.

When I look at the code for the users API controller (/api/components/com_users/src/Controller/UsersController.php), I see a bunch of code for filtering.

I have experimented with parameters and body JSON to try to trigger filtering, but nothing seems to work--it always returns the full list. For example, I tried adding


to the body.

Can anyone provide a sample GET request that shows filtering syntax?


1 Answer 1


Include filter parameter in the endpoint URL:


Strangely, this is not documented in Joomla Core APIs documentation.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.