Skip to content

Prepare faxes from your terminal

CLI

  • draft --title

  • Recipient and country

Create a draft

Save the fax title and a verified recipient from the terminal.

CLI

  • upload <fax-id> <file>

  • prepare <fax-id>

Attach and prepare

Upload files directly to Fax storage and queue the combined PDF.

CLI

  • list --status

  • status <fax-id>

Read structured status

Use JSON results to check readiness or follow up on a fax.

Feature 1 of 3

Commands for each step

From files to a reviewable draft

Download and verify

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

Good questions.
Straight answers.