How to query all fax using faxquery2 method

Hello,
One approach to retrieving the information for all faxes in your queue is submitting a max TID which is more than the highest transaction ID that you have in the queue. We usually recommend simply using 999999999 - this will retrieve the information on the top faxes in your queue.
Please note however that there is a limit of retrieving up to 100 faxes at a time using the FaxQuery2() method.

Alternatively, you may want to consider implementing our callback system for pushing outbound fax feedback to your API automatically. You can find out more about it at https://www.interfax.net/en/help/callback