By passing query parameter to the Rest API, you may obtain message information in JSON format and you can get message id from that message information.
You can refer this https://wiki.zimbra.com/wiki/Zimbra_Web ... earch_Tips to prepare QUERY_STRING.
Code:
https://servername/home/username?fmt=json&query=QUERY_STRINGQUERY_STRING be like in:<FOLDERNAME> AND after:<MM/DD/YYY> AND before:<MM/DD/YYYY>API request: https://servername/home/username?fmt=json&query=in:<FOLDERNAME> AND after:<MM/DD/YYY> AND before:<MM/DD/YYYY>Example: (below request provides Inbox folder's messages which received on 3-May-2023.)https://servername/home/username?fmt=json&query=in:inbox AND after:5/2/2023 AND before:5/4/2023
Statistics: Posted by mitesh.savani — Fri May 05, 2023 12:12 pm