CLI
draft --title
Recipient and country
Create a draft
Save the fax title and a verified recipient from the terminal.
CLI
draft --title
Recipient and country
Save the fax title and a verified recipient from the terminal.
CLI
upload <fax-id> <file>
prepare <fax-id>
Upload files directly to Fax storage and queue the combined PDF.
CLI
list --status
status <fax-id>
Use JSON results to check readiness or follow up on a fax.
The CLI is a single JavaScript file for Node.js 22 or newer. Set FAX_API_KEY in your environment before making account requests.
curl -fsSLo fax-cli.mjs 'https://faxonline.co/downloads/fax/fax-cli.mjs'
export FAX_URL='https://faxonline.co'
node fax-cli.mjs --help
node fax-cli.mjs list --limit 5