agent-fax — a thin REST client. No fax logic of its own.
agent-fax quote <number> <file.pdf> Price a fax. Sends nothing. agent-fax send <number> <file.pdf> Quote, then send and charge. agent-fax status <fax_id> Check delivery state. agent-fax receipt <fax_id> Fetch the delivery receipt.
AGENT_FAX_API_KEY Required for send. AGENT_FAX_URL Override the API base URL (default points at production).
For this deployment, set:
export AGENT_FAX_URL=https://app.ohfax.com export AGENT_FAX_API_KEY=afx_live_...
--idempotency-key <k> — reuse a key to retry a send safely.--json — emit raw JSON.--wait — after sending, poll until the fax is final.export AGENT_FAX_API_KEY=afx_live_... export AGENT_FAX_URL=https://app.ohfax.com agent-fax send --to 512-555-0123 --file doc.pdf
Create the key at Account.