search_by_module method

The task is, using REST methods to get id contact with obligatory condition checking two fields:
email and custom field - ex_pass.
Can we use it to perform search_by_module method ???
Thanks for the help!

PS Suite 7.2.2