POST

https://api.ifaxapp.com/v1/customer/fax-send

Request
{
	"faxNumber" : "+12345678901",
	"faxData" : [{
		"fileName" : "abc.pdf",
		"fileUrl" : "HTTP url of file"
		},
		{
		"fileName" : "xyz.pdf",
		"fileUrl" : "HTTP url of file"
	}]
}
require 'rest-client'
require 'json'
def create_fax
    begin
        url = 'https://api.ifaxapp.com/v1/customer/fax-send'
        data = {
            faxNumber: '+12345678910',
            faxData: [{
                fileName: 'abc.pdf',
                fileUrl: 'HTTP url of file'
            },{
                fileName: 'xyz.pdf',
                fileUrl: 'HTTP url of file'
            }]
        }
        headers = {
            ''Content-Type' => ''application/json',
            ''Accept' => ''application/json',
            ''accessToken' => ''YOUR_API_KEY'
        }
        response = RestClient.post(url, data.to_json, headers)
        puts "Response Code: #{response.code}"
        puts "Response Body: #{response.body}"        
        return response.body
    rescue RestClient::ExceptionWithResponse => e
        return { error: e.response.body }
    end
end
create_fax
curl 
--location 'https://api.ifaxapp.com/v1/customer/fax-send' \
--header   'accessToken: YOUR_API_KEY' \
--form     'faxData[0][fileName]="test.pdf"' \
--form     'faxData[0][fileUrl]=@"/C:/Users/abc.pdf"' \
--form     'faxNumber="12345678901"'
POST

https://api.ifaxapp.com/v1/customer/fax-send

Request
array(
    'faxNumber' => '+12345678901',
    'faxData[0][fileName]' => 'abc.pdf',
    'faxData[0][fileUrl]'=> new CURLFILE('/C:/Users/fw4.pdf'),
    'faxData[1][fileName]' => '123.pdf',
    'faxData[1][fileUrl]'=> new CURLFILE('/C:/Users/f1.pdf')
)
const axios = const require("axios");

exports.createFax = async ()= > {
    try {
        data = {
            faxNumebr: "+12345679801",
            faxData: [{
                fileName: "abc.pdf",
                fileUrl:  "HTTP url of file"
            },
            {
                fileName: "xyz.pdf",
                fileUrl: "HTTP url of file"
            }]
        }
        let result = await axios.post(
            `https://api.ifaxapp.com/v1/customer/fax-send`, data, {
            headers: {
                "Content-Type": "application/json",
                "Accept": "application/json",
                "AccessToken": "YOUR_API_KEY"
            },
        })
        return result
    } catch (error) {
        return { error }
    }
}
Fax API
Fax API
Fax API

Send, Receive & Manage
Secure Fax at Scale

iFax effortless

Developer-friendly API for Online Fax

Add online fax to your preferred software or application. Developers can access our API documentation to get started with your deployment fast.

ifax secure

Secure and reliable transmissions

Send and receive faxes with our HIPAA-compliant fax API. We use military-grade 256-bit encryption and robust security measures to thwart attempted cyber attacks, data theft, and breaches.

ifax cost effective

Custom field management

Enable the programmatic setting of custom field values through our Cloud Fax API. Boost communication and workflow efficiency while eliminating the need for tedious configuration processes.

Fax API

Cost-effective plans

Pay only for the features that you need with our flexible pricing.
Fax API

Robust security

Enjoy maximum data protection with the most stringent security measures.
Fax API

Scalable features

Build a document management workflow that grows with your team.
Fax API

Enhanced collaboration

Work with our experienced developers for a smoother deployment.
Fax API

Dedicated support

Our team of experts is available to assist you with any concerns — 24/7/365.
Fax API

Free demo

Explore and test our fully programmable API at no added cost.

cloud fax api

Cloud fax API designed for businesses and enterprises

iFax offers a scalable API solution that supports selective page faxing and next-level customization options. You can also set endpoints for managing labels associated with tasks.

Our fax communication platform integrates seamlessly with EHRs, CRMs, ERPs, and other enterprise systems.

Fax API service that ensures data privacy

Our platform is designed to protect confidential information in compliance with HIPAA, GDPR, and GLBA, among other federal and international standards. This level of security is critical not just for protecting sensitive data but also for facilitating efficient and effective fax transmission in your organization. Create customized fax cover sheets for an extra layer of security when you send patient files, financial records, and legal documents.

hipaa compliant fax api

Online Fax API Sample Codes

Designing and building fax solutions made simpler

Authenticate your iFax account

				
					curl 'https://api.ifaxapp.com/v1/customer/fax-send' \
-H 'accessToken:API_KEY'
				
			

Create and send a fax via API

				
					JSON Request
{
  "faxNumber" : "+12345678901",
  "faxData" : [{
        "fileName" : "abc.pdf",
        "fileUrl" : "HTTP url of file"
      },
      {
        "fileName" : "xyz.pdf",
        "fileUrl" : "HTTP url of file"
  }]
}

Form-data Request
array(
	'faxNumber' => '+12345678901',
	'faxData[0][fileName]' => 'abc.pdf',
	'faxData[0][fileUrl]'=> new CURLFILE('/C:/Users/fw4.pdf'),
	'faxData[1][fileName]' => '123.pdf',
	'faxData[1][fileUrl]'=> new CURLFILE('/C:/Users/f1.pdf')
)
				
			
				
					{
    "status": 1,
    "message": "Fax processed for sending",
    "data": {
        "jobId": 12345
    }
}
				
			

Retrieve a list of incoming faxes via API

				
					{
    "numberId" : "1",
    "orderId" : "1"
}
				
			
				
					{
    "status": 1,
    "message": "Faxes list retrieved successfully",
    "data": [
        {
            "jobId": "764118",
            "transactionId": "1175612",
            "receiver": "15812220900",
            "duration": "21",
            "pages": "1",
            "receivedTime": "2021-11-11 12:00:47",
            "sender": "19073131400"
        },
        {
            "jobId": "764120",
            "transactionId": "1175613",
            "receiver": "15812220900",
            "duration": "21",
            "pages": "1",
            "receivedTime": "2021-11-11 12:03:20",
            "sender": "19073131400"
        }
    ]
}
				
			

Enhance Existing Applications
With Online Faxing

Our enterprise-ready web fax API makes automating documentation tasks easy. Get the tools you need to get started.

satisfied customers of ifax

5M+ Delighted Users

 

20 million online faxes sent
20M+ Faxes Sent

 

online fax reviews

4.5 Average Rating

 

An internet fax API, or application programming interface, enables software developers to build applications that send and receive faxes using a fax server or a web service. API uses a set of standard web protocols so that you can integrate your fax document transmission into your existing software stack.

You can connect two systems using an API and allow them to communicate with each other. This communication can happen over the internet, within a single network, or even between different devices.

Think of an API as a bridge connecting two apps with each other. To illustrate, imagine a customer at a restaurant who places an order with a server. The latter then relays this to the food preparation staff. An API acts in a similar fashion.

Yes, iFax complies with the Health Insurance Portability and Accountability Act (HIPAA). We meet compliance standards and assure transparency in all transactions. This way, your clients and business partners get the protection they deserve when using our fax service.

Our secure internet fax solutions provide the highest standards for the transit, storage, and archiving of sensitive data.  These standards make iFax a perfect match for fax handling applications. You can be confident that your patient information, financial records, and legal documents are always safe. iFax is a reliable and cost-effective solution for businesses that need to send and receive confidential information.

Yes, you can. With the iFax API, you can search for available fax numbers by country and area code. You can also directly purchase additional fax numbers through API calls by using JSON. JSON, or JavaScript Object Notation, is a compact and human-readable text for structuring data. It is a versatile tool that allows faster data interchange and web service results.

Fax API calls only affect your billing and charges if the transmission is successful, ensuring a cost-effective fax experience.

To fully understand how fax API calls affect billings and charges, let’s take a look at how our billing process works:

  1. Everytime you make an API call to send a fax, our system automatically checks your balance. If you have sufficient balance, your fax queues for sending. However, if it’s too low for the price of the fax, the call will result in an error and will cancel the process.
  2. Before sending the fax over the wire, our system rechecks your balance. If you have enough balance in your account, we deduct the price of the fax. On the other hand, if you don’t have enough balance, the transmission is halted.
  3. After the transmission processes has ended, we will check to see if the fax successfully went through or not. In some cases, the transmission is unsuccessful fue to busy lines, intermittent connection, and the like. If your transmission failed, our system credits the price of the fax back to your account

To test our fax API, you need to have an iFax account. You can sign up for a free trial to try the API. Our top-tier customer service is readily available to assist you throughout the process.

Once you have an account, you can get your API key from the Settings page and start making calls. The API documentation will guide you on how to ensure successful fax delivery by teaching you how to make various requests and what parameters to include. 

Arrow-up