PHP Fax API - Send Faxes with a Few Lines of Code

Need a PHP fax API? The InterFAX PHP API allows you to send faxes using a few lines of code, requiring no installations. InterFAX accepts documents in all popular formats, including MS Word, PDF, HTML, ASCII, URL, and others - and sends them to a fax number you specify. The service offers basic fax send/receive, and advanced features such as document resolution, multiple destinations, and deferred transmission.

Sign up now for our free developer program and receive immediate access to the Interfax PHP Fax API, as well as our APIs for other programming languages. No hardware or software needed, no phone lines to order.

PHP Fax API Code Samples

Title Description
Tutorial: Fax from PHP

This step-by-step guide will enable you to get started sending faxes from PHP using the InterFAX internet fax XML web service.

Send a simple text fax using SendCharFax

This sample demonstrates the most basic submission of a simple text document for faxing.

Web Form to Fax with PHP

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

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.

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 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 FaxQuery

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

Get information about one or more submitted faxes with FaxQuery2

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

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

Cancel a pending fax with CancelFax

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


Sign up now for our free developer program