Dimefax
v1.1.0Fax any US or Canada number for 10¢ a page.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
send_fax Send a fax
Send a fax to a US or Canada fax number with Dimefax (10¢ a page, no subscription, no account needed first). Give the document as base64 (PDF, PNG or JPEG), as a public https link to one, or as the plain text of a letter you wrote. This prepares the fax and returns a link for the user: they check it and pay (Apple Pay, Google Pay or card) or use page credits they already have, and it sends automatically. Nothing is sent or charged before that. If you can’t pass the file, call this with just the number: the user can add the document at the link.
| Parameter | Type | Description |
|---|---|---|
to * | string | The fax number, US or Canada, e.g. "(503) 555-0147" or "+15035550147". |
document_base64 | string | The document, base64-encoded: a PDF, PNG or JPEG. |
document_url | string | A public https link to a PDF, PNG or JPEG. |
text | string | The text of a letter to fax, if there is no file. Dimefax sets it on letter-size pages. |
fax_status Check a fax
How a fax set up with send_fax is going: waiting for payment, sending, trying again, delivered, or why it didn’t go through.
| Parameter | Type | Description |
|---|---|---|
code * | string | The code send_fax returned (the end of the link). |