PayPerFax
v1.0.4Your AI assistant prepares the fax.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_fax Create a fax
Prepare a fax for a person to send with PayPerFax, the pay-per-fax service: no account, no subscription, one payment for one fax. A common use is a letter or a form for the IRS, a doctor, a court, an insurer or a landlord. The tool does not send the fax and does not charge. It returns a link for the person. The person opens the link, sees the preview and the price, and pays in the browser. Then the fax is sent. Rules: 1. Email: ask the person for their email address. Do not guess it. The confirmation and the receipt go there. 2. A document that the person has as a file (a PDF, a scan, a sign…
| Parameter | Type | Description |
|---|---|---|
to * | string | The fax number in international format: "+", the country code, the number. Example: +14155550101. |
country | string | The person's country as a two-letter code (ISO 3166-1 alpha-2), for example US, DE, GB or JP. It sets the currency of the price, and the date format on the cover page and in the emails. Without it, th… |
cover_message | string | A short note on the cover page, as plain text, at most 10000 characters. A long message goes on more pages, each charged. Only with cover_page. |
cover_page | boolean | true to put a cover page before the document. The default is no cover page. |
email | string | The person's email address, for the confirmation and the receipt. Ask the person; do not guess. Required when you send markdown or a cover page. |
file_expected | boolean | true when the person must still add a file (a PDF, a scan, a signed form). Then the link opens a form with what you sent, and the person adds the file there. |
language | string | The language of the pages that the person sees, and of the emails. The default is en. |
markdown | string | The document as Markdown text that you wrote, for example a letter. Leave it out when the person has the document as a file. |
recipient_company | string | The recipient's company or agency on the cover page. Only with cover_page. At most 100 characters. |
recipient_name | string | The recipient's name on the cover page. Only with cover_page. At most 100 characters. |
sender_name | string | The sender's name on the cover page. Only with cover_page. At most 100 characters. |
show_sender_email | boolean | true to show the person's email address on the cover page, so the recipient can reply. Only with cover_page. |
timezone | string | The person's time zone as an IANA name, for example America/New_York. Without it, times are shown in UTC. |
get_fax_status Get the status of a fax
Read where a fax is. Give the id from create_fax, or an address of the fax: the status address from the tracking prompt of the person, or the address of a page of the fax. "status" is pending, delivered, failed or expired. While it is pending, "stage" says more: rendering (we prepare the pages), awaiting_payment (the person did not pay yet; "pages" and "price" are given, and they can still change), sending (paid, on its way). delivered: the fax arrived. failed: the fax was not delivered, the person is not charged, and can send it again; with "render_failed", the document could not be prepared,…
| Parameter | Type | Description |
|---|---|---|
id * | string | The id of the fax, or an address of the fax: its status address (https://.../api/fax/{id}/status), or the address of its preview, payment or confirmation page. |
list_supported_formats List the supported formats
List what PayPerFax can fax, and the limits: the text that create_fax takes, the file types that a person can add on the form or that a shell can send to the HTTP call, the sizes, and the languages.