Programmable
HIPAA
Fax API
Blazing-fast cloud fax with 99.99% uptime
Pricing from $0.01/page with no commitment
Built for effortless developer integration
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 } } }