Enterprise Fax API
Build fax into any application.
A secure REST API for sending and receiving faxes at enterprise scale — with webhooks that push every status change to your system the moment it happens, all on the WestFax fax transport network.
Test accounts, sample code, and the SDK in cURL, Python, PHP, Go, and C#. Build it yourself — the engineers who built the API are a message away whenever you need one.
# Send a fax — multipart/form-data curl --location 'https://api2.westfax.com/REST/Fax_SendFax/json' \ --header 'Content-Type: multipart/form-data' \ --form 'Username="your_username"' \ --form 'Password="your_password"' \ --form 'ProductId="22222222-1111-0000-0000-000000000"' \ --form 'Numbers1="9702895979"' \ --form 'Files0=@"/path/to/document.pdf"'
# Send a fax with the requests library import requests url = 'https://api2.westfax.com/REST/Fax_SendFax/json' data = { 'Username': 'your_username', 'Password': 'your_password', 'ProductId': '22222222-1111-0000-0000-000000000', 'Numbers1': '9702895979', } files = {'Files0': open('document.pdf', 'rb')} res = requests.post(url, data=data, files=files) print(res.text)
<?php // Send a fax with cURL $ch = curl_init('https://api2.westfax.com/REST/Fax_SendFax/json'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, [ 'Username' => 'your_username', 'Password' => 'your_password', 'ProductId' => '22222222-1111-0000-0000-000000000', 'Numbers1' => '9702895979', 'Files0' => new CURLFile('document.pdf'), ]); echo curl_exec($ch);
// Send a fax over HTTPS package main import ("fmt"; "net/http"; "net/url") func main() { form := url.Values{ "Username": {"your_username"}, "Password": {"your_password"}, "ProductId": {"22222222-1111-0000-0000-000000000"}, "Numbers1": {"9702895979"}, } res, _ := http.PostForm( "https://api2.westfax.com/REST/Fax_SendFax/json", form) fmt.Println(res.Status) }
// Send a fax with HttpClient using var client = new HttpClient(); using var form = new MultipartFormDataContent { { new StringContent("your_username"), "Username" }, { new StringContent("your_password"), "Password" }, { new StringContent("22222222-1111-0000-0000-000000000"), "ProductId" }, { new StringContent("9702895979"), "Numbers1" }, { new ByteArrayContent(File.ReadAllBytes("document.pdf")), "Files0", "doc.pdf" }, }; var res = await client.PostAsync( "https://api2.westfax.com/REST/Fax_SendFax/json", form); Console.WriteLine(await res.Content.ReadAsStringAsync());
What it is
A secure fax API, built on a serious network.
The WestFax Fax API is a REST API for sending and receiving faxes programmatically at enterprise scale. Your application makes one HTTPS call, WestFax delivers it across its own fax transport network, and webhooks push every status change back to you in real time — no fax lines, no hardware, no polling.
-
Send & receive over REST
One HTTPS request sends a fax; pull inbound faxes the same way. Call it from any language that speaks HTTP.
-
Real-time webhooks
Every event — queued, delivered, failed, retried, inbound — is pushed to your endpoint the instant it happens. No polling, no lag.
-
SDK & sample code
Move fast with sample code in cURL, Python, PHP, Go, and C#, a C# SDK and demo, and a Postman collection.
Jump to the quicklinks → -
Multipart documents
Send multi-page, multi-part documents and retrieve inbound faxes as PDF or TIFF — built for real document workflows.
-
Secure & compliant
TLS 1.2+ in transit and at rest, with HIPAA, HITRUST, and SOC 2 behind every call.
Built on the network
Why does the network matter for a fax API?
An API is only as good as what actually moves the fax. Most providers wrap a tidy API around a single resold transport and hope for the best. WestFax owns and operates the entire network — so more of your faxes land on the first attempt, including the hard ones.
We own the entire network
Because we operate the whole network, the moment something needs attention we handle it ourselves — not in a wholesaler’s ticket queue.
AI-optimized routing
For every destination, our engine picks the carrier route and transport — TDM or SIP — most likely to land, trained on 26 years of delivery data.
Smart retries & failover
A fax that fails once isn’t a fax that failed. Redundant carrier paths and smart retries keep every fax trying until it lands.
Enterprise scale
Pour your volume on. The network won’t flinch.
WestFax is one of a few providers with the scale, capacity, and flexibility to absorb massive enterprise fax volume. Elastic SIP capacity scales the moment your traffic does — with burst absorption, optional dedicated lanes, and geographic redundancy behind the 99.999% SLA.
- High sustained throughput
- Absorbs your spikes
- Optional dedicated lanes
- Full US + international reach
Quick to integrate
From API key to first fax,
in three steps.
It’s a clean, well-documented REST API — most teams send their first fax the same day.
Read the API docsRegister & get your API key
Register as a developer on your WestFax Team or Enterprise account. We issue your credentials and ProductID — plus a test account if you’re still evaluating.
Authenticate over HTTPS
Call the REST endpoints directly or with the SDK. Every request runs over TLS 1.2+ — no special client, no fax hardware, nothing to install.
Send, receive & subscribe
Submit multipart documents, pull inbound faxes as PDF or TIFF, and point a webhook at your endpoint so status events stream to you live.
Quickstart
Everything you need to start building.
Reference docs, an interactive explorer, the SDK, a Postman collection, and step-by-step how-to guides — all in one place.
API documentation
The complete endpoint reference — authentication, sending, receiving, and webhooks.
Open docsInteractive explorer
Try endpoints live on SwaggerHub before you write a line of code.
Open explorerC# SDK & demo
A C# SDK and demo project on GitHub to jump-start your build.
View on GitHubPostman collection
Import the collection and call every endpoint with credentials prefilled.
Get the collectionHow-to guides
Step-by-step walkthroughs: retrieving your ProductID, callbacks & webhooks, and handling inbound faxes.
Browse guidesDeveloper registration
Request your API key or a test account and start building today.
Get access →Expert support
Support from the people who built the API.
When you have a question, you reach the U.S.-based engineers who designed, wrote, and run the platform — not a first-tier script reader. You stay in control of your build; expert help is a message away, with 24/7 live support for Enterprise.
- Built itThe engineers who wrote the API
- Run itThey operate the network daily
- 24/7Live support for Enterprise
U.S.-based engineersThe team that built the API
Security & Compliance
Built for regulated data
Your application may carry PHI and other regulated data on every call. WestFax holds the certifications to protect it — and we’ll sign the paperwork to back it.
- PIPEDA
- CJIS
- GLBA
- FERPA
- TX‑RAMP
Every fax travels over encrypted HTTPS with TLS 1.2+ — in transit and at rest — with strict role-based access and complete audit trails. We’ll provide security documentation and a signed BAA for your review.
Discuss security requirementsPricing
API-included fax plans.
The Fax API is included on every Team and Enterprise plan — there’s no separate API fee. Choose the monthly volume that fits today and scale up whenever you need to; a short developer registration issues your key.
Compare all plan featuresFor growing teams & product builders
Starting at
billed monthly, cancel anytime
- WestFax API access included
- REST API & real-time webhooks
- Manage multiple fax lines
- 2.5¢–3¢/extra page overage
For high-volume, wholesale & multi-site deployments
volume pricing & flexible billing
Talk to Sales- Everything in Team
- Unlimited users
- Optional dedicated capacity lanes
- 99.999% contractual SLA
- 24/7 support from the engineers who built the API
- Volume pricing & signed BAA
Get access
Request your API key or a test account.
Tell us about your integration and expected volume. If you’re a WestFax Team or Enterprise customer, we’ll get your API key issued; if you’re still evaluating, ask about a test account and build against the real API first.
FAQ
Frequently asked questions
API access is available to WestFax Enterprise and Team customers. Once your account is set up, complete the developer registration form and WestFax issues your API key. Vetted prospects can also request a test account to build and validate an integration before going live.
Yes. WestFax provides a test account to qualified prospects so your team can authenticate, send and receive faxes, and exercise webhooks against the real API before committing to production volume.
The Fax API runs on the WestFax fax transport network — a hybrid TDM and SIP network with adaptive route selection, smart retries, and direct carrier interconnects. The same network that moves millions of pages per day carries every fax your application sends and receives. Explore the transport network →
Yes. WestFax is HIPAA compliant with a BAA available, HITRUST r2 certified, and SOC 2 Type II audited. Every fax travels over encrypted HTTPS with TLS 1.2+, role-based access, and complete audit trails.
Ready to build?
Request your API key or a test account and start sending faxes from your own code today.
Because it’s a standard REST API, you can call it from any language that can make an HTTPS request. WestFax publishes sample code in cURL, Python, PHP, Go, and C#, a C# SDK and demo project on GitHub, and a Postman collection to get you started quickly.
Yes. WestFax is one of a few providers with the scale, capacity, and flexibility to absorb massive enterprise fax volume. Because WestFax owns and operates the network, elastic SIP capacity scales the moment your volume does, with burst absorption, optional dedicated lanes, redundancy, and a 99.999% SLA for Enterprise customers.
Webhooks. Instead of polling for status, the API pushes every event — queued, delivered, failed, retried, and inbound — to your endpoint the moment it happens, so your system always knows exactly where every fax stands.
