Send a Fax
POST
/api/faxes/send
Required Scope: faxes:write
Send a fax with a document attachment. Multipart form upload: attach the document as file and provide one or more recipient numbers in to (E.164). PDF, TIFF, PNG, JPEG, GIF, and BMP are supported (max 25 MB).
Example Request
curl -X POST https://api.eldonfax.com/api/faxes/send \
-H "Authorization: Bearer sk_live_xxx" \
-F "to=+15551234567" \
-F "file=@invoice.pdf"Example Response
{
"success": true,
"message": "Fax queued",
"responseObject": {
"id": "fax_abc123",
"status": "QUEUED",
"to": "+15551234567",
"direction": "OUTBOUND"
}
}