PHP Fax - Get information about an inbound fax

This is a PHP code sample to show how to retrieve information regarding an inbound fax received in InterFAX. This code sample is based on the PHP library for InterFAX available on Github.

This sample demonstrates how to retrieve the information of a single fax based on the fax ID - all you need to do in order to change it is to provide a different fax ID.
You can retrieve the fax ID by using the sample code for checking on inbound faxes or by integrating the inbound callback.

     $fax_id = '12345';
// retrieve the fax
$fax = $interfax->inbound->find($fax_id);
// check the status
// check the number of pages


The parameters of the fax are only two of several parameters that you can retrieve in regards to a fax. For a full list, please review our API documentation.

Contact us today

Talk to a member of our team about the benefits InterFAX can bring to your organization's communications processes.

Contact us today