Fax API & code examples
Send real faxes from your own software – with the same account and balance you use in Claude and ChatGPT. One HTTPS request per fax, no hardware, no subscription.
Get started in 3 steps
- Create an account and top up credit (prepaid, no subscription).
- Create an API key under Account → API keys (starts with
mfx_). - Send it as header
Authorization: Bearer mfx_…with every request.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /fax/price | Price quote: validates the number, counts pages – sends nothing |
POST | /fax/send | Sends a fax (optionally scheduled with send_at) |
GET | /fax/{id} | Status of a fax (sent, delivered, failed, scheduled …) |
GET | /fax/{id}/report | PDF send report as proof of transmission |
POST | /fax/{id}/resend | Sends a previous fax again |
POST | /fax/{id}/cancel | Cancels a scheduled fax with full refund |
GET | /faxes | Recent faxes (limit, since) |
GET | /balance | Prepaid balance |
GET · POST | /contacts | Search or save fax contacts |
Authentication: API key or OAuth 2.1 token as Bearer token. Responses are JSON; errors contain error and message (402 = balance too low).
MCP in Cursor, VS Code & other clients
For AI tools, use the MCP endpoint directly – sign-in happens via OAuth on first use.
Cursor · ~/.cursor/mcp.json
{
"mcpServers": {
"mcpfax": { "url": "https://mcpfax.de/mcp" }
}
}VS Code · .vscode/mcp.json
{
"servers": {
"mcpfax": { "type": "http", "url": "https://mcpfax.de/mcp" }
}
}