This page is for an AI assistant that landed here while helping a person send a fax. If you are a person, start at payperfax.com or go straight to the web form. To see what your AI assistant can do for you, read Can ChatGPT or Claude send a fax for me?
What PayPerFax is
PayPerFax is a pay-as-you-go online fax service. You help the person prepare one fax. The person opens a link in the browser, checks the preview with the price, and pays there. Nothing is sent and nothing is charged before payment. A failed fax is not charged.What it is not
- No accounts, no API keys, no sign-up.
- No webhooks, no callbacks, no fax list, no inbound fax.
- No way to pay without a person. The person pays through the link.
- Not an “email to fax” subscription product.
How to prepare a fax
You have our MCP server
Call the tool
create_fax with the fax fields. The result has a url; give it to the person. MCP has no file transfer: write the document as Markdown, or set file_expected and let the person add the file on the form.See The MCP server for the setup and the tools.You can make HTTP requests
Send
POST https://fax.payperfax.com/api/fax with the fax fields. The response has a url; give it to the person. This is for coding agents with a shell (Claude Code, Codex, Cursor). AI chat apps (ChatGPT, Claude, Gemini) do not make this request; they use the MCP server.See Send a fax and Check the status.You have no tool for this
Send the person to fax.payperfax.com. If you wrote the letter, give it to the person as a file (PDF, DOCX, or
.md) to upload on the form. If the person already has a signed form, they upload it there.Rules to follow
Ask the person for their email address
Ask the person for their email address
The confirmation and the receipt go there. Ask the person. Do not guess the address, and do not reuse one you saw earlier in the chat without asking.
Do not retype a person's file as text
Do not retype a person's file as text
A typed copy of a signed form is not the form. Send the file with the HTTP request if you can. The MCP server takes no files: if you only have MCP, or the person has not given you the file, set
file_expected=true and give them the form link so they can add the file themselves.Take an agency's fax number from its official site
Take an agency's fax number from its official site
For the IRS: irs.gov. For a Medicare office, a state agency, or a court: that body’s own site, or the number on the person’s notice. Show the source to the person before you prepare the fax. Do not guess a number, and do not use one from a third-party directory.
A letter must include its own names, date, and address
A letter must include its own names, date, and address
A fax has no cover page unless you request one. A letter you write (sent in the
markdown field) must therefore include the sender’s name, the recipient’s name and address, and the date at the top. The letter becomes letter.md, the first document of the fax.Set country for a price in the person's currency
Set country for a price in the person's currency
Each MCP or HTTP request from your server reaches us from that server, so the caller’s address says nothing about the person’s country. Set
country to the person’s two-letter code (US, DE, GB, JP, and so on) for the currency of the price and the date format. Set language for the language of the preview and the emails.10 MB total for all files
10 MB total for all files
PDF, DOC, DOCX, JPG, PNG, TIFF, or Markdown. The whole fax must be under 10 MB. A Markdown file can be at most 100 KB. The inline
markdown text counts toward the 10 MB. Files can be sent only with the HTTP request.Tracking the fax
- With an
id: read the status withget_fax_status(MCP) orstatus_url(HTTP). See Check the status. - With a form link (no
id): after payment, the person’s confirmation page shows Track this fax with your AI assistant, with a prompt that contains the status address. Ask the person to give you that prompt.
What to tell the person
- “Nothing is charged before you pay.” The link opens the preview with the price. The person pays there. Until then, nothing is sent.
- “A failed fax is not charged.” If the destination does not accept the fax, the person is not charged and can send it again.
- “The link is for you.” The person opens the link in their own browser. You cannot pay for them.
- “The preview link expires after 4 hours. The form link expires after 24 hours.” If the link stops working, prepare the fax again.
Where to go next
The MCP server
Add the server to the AI app;
create_fax, get_fax_status, list_supported_formatsSend a fax
The create request: fields, the two kinds of response, errors
Check the status
Status values,
stage, polling rulesFax a form to the IRS
Worked example with an AI assistant
OpenAPI file
payperfax-openapi.yaml for your toolingFax API on payperfax.com
The HTTP API on the main site
Fax MCP on payperfax.com
The MCP server on the main site