REST API

Fax API

Send faxes programmatically to any number worldwide.

Pricing

$0.07
per page
US / Canada
$0.10
per page
International

Supported File Formats

PDF DOC DOCX JPG PNG TIFF HTML

All formats are automatically converted to fax-compatible format before sending.

Endpoint

POST https://softwaresphere.ca/tools/SendAndReceiveFaxesTool/api.php

Parameters

api_key Required Your Software Sphere API key
to Required Destination fax number with country code (e.g., +14375375000)
file Required File to fax (multipart/form-data upload)

Example Request

cURL

curl -X POST "https://softwaresphere.ca/tools/SendAndReceiveFaxesTool/api.php" \
  -F "api_key=YOUR_API_KEY" \
  -F "to=+14375375000" \
  -F "file=@document.pdf"

JavaScript (FormData)

const formData = new FormData();
formData.append('api_key', 'YOUR_API_KEY');
formData.append('to', '+14375375000');
formData.append('file', fileInput.files[0]);
fetch('https://softwaresphere.ca/tools/SendAndReceiveFaxesTool/api.php', {
  method: 'POST',
  body: formData
}).then(r => r.json()).then(console.log);

Response

Success

{
  "success": true,
  "message": "Fax queued for delivery",
  "fax_id": "fax_abc123",
  "details": {
    "to": "+14375375000",
    "pages": 3,
    "rate": "us_canada",
    "price_per_page": "$0.07",
    "total_cost": "$0.21",
    "remaining_balance": "$24.79"
  }
}

Error

{
  "success": false,
  "error": "Insufficient funds",
  "required": "$0.21",
  "balance": "$0.10"
}

Need Help?

Get your API key from your User Profile after logging in.