Search APIs for mail not working

Search APIs for mail not working

I have been experiencing difficulty using the api:

https://www.zoho.com/mail/help/api/get-search-emails.html

But I have been able to use:

https://www.zoho.com/mail/help/api/get-emails-list.html

The problem is that the search api always returns and empty set. I have tried pretty much every iteration I can think of for the parameters but it seems to never return any values.

I feel like I am using it wrong or there is an issue with the documentation. Any advise would be greatly appreciated.