Java Fax API

Java Fax API
  • Send a fax file = new File(absoluteFilePath);
    InterFAX interFAX = new DefaultInterFAXClient("username", "password");
    APIResponse apiResponse = interFAX.sendFax(faxNumber, file);
  • Check sent fax status
    InterFAX interFAX = new DefaultInterFAXClient();
    OutboundFaxStructure[] outboundFaxStructures = interFAX.getFaxList();
  • Retrieve received fax
    InterFAX interFAX = new DefaultInterFAXClient();
    InboundFaxStructure[] inboundFaxStructures = interFAX.getInboundFaxList();
    InterFAX interFAX = new DefaultInterFAXClient();
    InboundFaxStructure inboundFaxStructure = interFAX.getInboundFaxRecord("999999999");
    InterFAX interFAX = new DefaultInterFAXClient();
    byte[] faxImage = interFAX.getInboundFaxImage("999999999");
Send and receive faxes from Java using the InterFAX Fax API
  • No hardware installations
  • No software setup
  • No phone lines to order

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.

Register as Developer


Client Libraries
Get up and running in minutes, using libraries for Java, .Net, PHP, Ruby, and more
Developer's Guide
Find out how it all fits together
API Methods
Full documentation of all API methods, including REST and SOAP
Developer Forum
Discuss any issues you may have with our dedicated developer support staff
Get up and running in minutes, using a dedicated Java faxing library.

More code samples

This step-by-step guide demonstrates how to send a Java fax using the InterFAX XML Web service.

In this tutorial, you learn how to write a Java fax program that uses the InterFAX web service. In the tutorial distribution, you can...

This section demonstrates how to send a Java fax: creating a fax script, testing the fax script, viewing the fax status and going live...

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

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

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

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

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

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

The Wikipedia entry for web service ( is...

In this Java fax code sample, you learn how to send a plain-text fax using the...

This code sample demonstrates how to submit a Java fax with one attachment (binary file) to the InterFAX Web service, using the method...

This code sample retrieves information about one or more submitted Java faxes, using the method FaxStatusEx.

Sending a Java fax to one or more recipients with one or more attached files is done using the...

This section demonstrates the FaxQuery method, which...

In this section, you use the FaxQuery2 method to...

This Java fax sample demonstrates the GetList method, which allows you to retrieve a list of inbound (received) faxes.

In this section, GetImageChunk is used to retrieve an image for an inbound (received) Java fax. To retrieve the fax image, you need to...

The GetFaxImage method, demonstrated in the following...

This sample allows you to cancel a Java fax that was previously submitted to the InterFAX Web service. This can be done using the...

What you get...

Free Registration
It costs nothing to join our developer program.
Free Faxing
Send as many test faxes as you need to one designated fax number.
Free Support
Our support team ensures you have everything you need to get your application up and running.
Access to Developer API
Your choice of REST, SOAP, or SMTP interface.

Features & Benefits of InterFAX

No Installations
No need to worry about fax software, servers or phone lines. Be up and running in minutes.
Encrypted Fax
Enhanced security with SSL access and encryption for inbound/outbound fax messages.
Global Reach
Our fax servers are distributed over four continents. Send faxes wherever you are.
Complies with the most stringent industry regulations, including the Health Insurance Portability and Accountability Act.
Unlimited Scalability
Whether you need to send ten faxes or ten thousand, our servers get the job done.
Outbound PCI DSS Fax
Complies with the new mandatory standard, ensuring the highest level of security for faxing credit-card data.
Full Control
Web-based administration screens allow you to monitor activity and control settings.
EU Data Protection
Complies with the EU Data Protection Directive, ensuring that all faxes are handled within the EU.

Sample Uses

Automated Invoicing
Automate fax invoices and order confirmations directly from order processing systems.
Online Restaurant Orders
Automatically fax orders from websites to restaurants for quick fulfillment.
Fax travellers' itineraries and related information directly from travel management systems.
Fax work orders to remote personnel from workflow management systems.
FAXCOMEXLib Alternative
Save the trouble of integrating the Windows fax library into your application.

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