Sending a fax from the command line

Sending a fax from the command line

This guide was split in two, because it was really two guides wearing one name.

You wantGo to
curl and jq, no dependencies, no runtime -- the reference implementation of the protocolcurl.md
Node, Bun, or Deno with the sendfax SDK, a PaymentHandler wired to a local key, exit codestypescript.md

Both cover the same flow end to end: submit, read the 402, pay, retry to 202, poll to delivered. They differ only in what runs it.

If you are not sure, start with curl.md. It is the shortest complete description of the system, and it is worth reading even if you will ship the SDK.


The rest of the set