Skip to main content

Fax Management

The Fax API allows you to send and receive fax documents. Send documents from your application, receive incoming faxes, and track fax status and delivery.

Base URL​

https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes

Authentication​

All requests require the X-Auth-Token header:

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"

List Faxes​

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes?paginate=false" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"

Response​

{
"auth_token": "eyJhbGciOiJSUzI1...",
"data": [
{
"id": "fax_abc123",
"direction": "outbound",
"from_number": "+14155552671",
"to_number": "+14155559999",
"status": "sent",
"pages": 3,
"timestamp": "2026-02-04T10:30:00Z"
}
],
"request_id": "req_xyz789",
"status": "success"
}

Send Fax​

Using Document URL​

curl -X PUT "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"data": {
"from_number": "+14155552671",
"to_number": "+14155559999",
"document_url": "https://example.com/document.pdf"
}
}'

Using Document Upload​

curl -X PUT "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "to_number=+14155559999" \
-F "from_number=+14155552671" \
-F "document=@/path/to/document.pdf"

Get Fax Details​

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes/{FAX_ID}" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"

Download Fax Document​

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes/{FAX_ID}/attachment" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/pdf" \
--output fax_document.pdf

Delete Fax​

curl -X DELETE "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes/{FAX_ID}" \
-H "X-Auth-Token: {AUTH_TOKEN}"

Fax Fields​

FieldTypeDescription
idstringUnique fax identifier
directionstringinbound or outbound
from_numberstringSender fax number
to_numberstringRecipient fax number
statusstringCurrent fax status
pagesintegerNumber of pages
timestampstringSend/receive time
document_urlstringURL to fax document

Fax Status​

StatusDescription
pendingFax queued for sending
processingFax being processed
sendingFax transmission in progress
sentFax successfully delivered
failedFax transmission failed
receivedInbound fax received

Supported Formats​

FormatExtensionDescription
PDF.pdfBest compatibility
TIFF.tiffHigh-quality, archival
PNG.pngGraphics, charts
JPG.jpgPhotographs

Fax Inbox (Inbound)​

List received faxes:

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes/inbox" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"

Fax Outbox (Outbound)​

List sent faxes:

curl -X GET "https://api.audian.com:8443/v2/accounts/{ACCOUNT_ID}/faxes/outbox" \
-H "X-Auth-Token: {AUTH_TOKEN}" \
-H "Accept: application/json"

Best Practices​

  1. Format Selection: Use PDF for best compatibility
  2. File Size: Compress large documents before sending
  3. Number Validation: Verify fax numbers before sending
  4. Status Monitoring: Poll for delivery status
  5. Retries: Implement retry logic for failed faxes

Topics​