PHP Fax API

Send and receive faxes from PHP using the InterFAX Fax API

The InterFAX accepts files in all popular Office formats, including PDF and HTML, and sends them to a fax number you specify. The fax API offers basic fax send/receive, and advanced features such as multiple destinations, deferred transmission, document resolution, and more.

  • No hardware installations
  • No software setup
  • No phone lines to order

Register as a Developer

More PHP Code Samples

View all PHP API Code

PHP Fax – Send a fax and check its status »

This is a more advanced PHP code sample to show how to send a fax and then check the status of a fax that was submitted until the status…

 

PHP Fax – Send multiple documents as a fax »

This is a more advanced PHP code sample to show how to send a fax with multiple documents.

 

PHP Fax – Retrieve new inbound faxes and download fax images »

This is a more advanced PHP code sample to show how to retrieve the list of inbound faxes, download the fax images and mark the…

 

Web Form to Fax with PHP »

This sample demonstrates how to fax from a very basic web form

 

PHP Fax – send one or more files to one or more recipients with SendfaxEx_2 »

This sample demonstrates how to send a fax using PHP, with one or more attached files, using the method SendfaxEx_2.

Get information about one or more submitted faxes with FaxQuery »

This sample demonstrates how to retrieve information about a sent fax using the FaxQuery method. This method has more flexible querying…

 

Retrieve the image of a previously-submitted outbound fax with GetFaxImage »

This sample demonstrates how to retrieve the fax image of a previously-submitted message

 

Inbound: retrieve a received fax using GetImageChunk »

This sample demonstrates how to retrieve an inbound (received) fax image.

 

PHP Fax – Send a fax with a large file »

This is a more advanced PHP code sample to show how to send a fax with a large document.

 

PHP Fax – Cancel outbound faxes in process »

This is a PHP code sample to show how to retrieve the list of all faxes submitted and cancel those faxes that are still in process.

PHP Fax – Mark inbound faxes as unread and resend notification emails »

This is a more advanced PHP code sample to show how to retrieve information for a specific inbound fax, resend the email notifications…

 

Send one file attachment (e.g., PDF, DOC, HTML) to one recipient with Sendfax »

This sample demonstrates how to send an “attached” file, such as Word DOC, PDF, or HTML to a single recipient.

 

Get information about one or more submitted faxes with FaxStatusEx »

This sample demonstrates how to retrieve information about a sent fax using the FaxStatusEx method.

 

Get information about one or more submitted faxes with FaxQuery2 »

This sample demonstrates how to retrieve information about a sent fax using the…

 

Cancel a pending fax with CancelFax »

This sample demonstrates how to cancel a previously-submitted outbound fax.

InterFAX Developer Resources

Get up and running in minutes, using libraries for Java, .Net, PHP, Ruby, and more

GitHub Libraries »

Find out how it all fits together

Developer’s Guide »

Full documentation of all API methods, including REST and SOAP

View Documentation »

Discuss any issues with our dedicated support staff on our Developer Forum