Documentation Index
Fetch the complete documentation index at: https://mintfax.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Handle time-sensitive documents
Some faxes cannot wait. A prescription needs to reach the pharmacy before the patient leaves the office. A purchase order has to land before a supplier’s cutoff. A court filing is due by end of business. The fax will get there, but you need to minimize delivery time, know immediately when something goes wrong, and have a plan when it does. This guide covers what affects delivery speed, how to optimize for it, and how to build monitoring and fallback logic around urgent faxes.What affects delivery time
Most faxes complete within 1-5 minutes. Four factors determine where in that range a given fax lands:| Factor | Impact |
|---|---|
| Page count | Each page is a separate T.30 transmission phase. Fewer pages = faster delivery. |
| File complexity | Dense images and complex layouts take longer to render. Simple PDFs render fastest. |
| Destination line | A clean line transmits quickly. Noise, poor connections, or old equipment slow it down. |
| Busy signals | If the recipient’s line is busy, the fax waits for a retry slot. You cannot skip this. |
Optimize for speed
Three things you can control on your side: Keep documents short. If you are sending a 20-page contract but only the signature page is urgent, send the signature page first and the full document separately. Each page adds transmission time. Use PDF. mintfax accepts PDF, DOCX, XLSX, JPG, PNG, TIFF, HTML, and TXT (max 10 MB). PDF renders fastest because it requires no conversion. DOCX and HTML need server-side rendering before transmission, which adds a few seconds. Set an appropriate retry count. Retries are configurable from 0 to 10 (default 3). For truly urgent faxes, a lower retry count lets you fail fast and take manual action sooner. For faxes where delivery matters more than speed, keep the default or increase it.Monitor delivery in real time
Subscribe to three webhook events to track urgent faxes:| Event | What it tells you |
|---|---|
fax.delivered | The fax reached the recipient. Terminal state. |
fax.failed | All retries exhausted. Terminal state. |
fax.retry_scheduled | A delivery attempt failed but retries remain. Still in flight. |
webhook_url override to route notifications to a dedicated handler instead of your default endpoint. This lets you process time-sensitive notifications on a separate queue with higher priority.
Build alerting around your threshold
Webhook events tell you when something happened. Alerting tells you when something has not happened yet. For time-sensitive faxes, you want to know if a fax has not reached a terminal state within your acceptable window. A simple pattern: when you submit an urgent fax, record the fax ID and a deadline. Run a periodic check (a cron job, a delayed queue job, or a scheduler) that flags any fax still in a non-terminal state past its deadline.fax.delivered, clear the deadline entry. If the deadline checker finds a fax still in queued, sending, or retry_scheduled status, escalate.
Plan your fallback
When an urgent fax fails, you need a plan. Here are three options, in order of automation: 1. Resend via the API. If the failure was a busy signal or a temporary line issue, try again. UsePOST /fax/{id}/resend to resubmit with the same parameters and a fresh retry cycle.
Set expectations
Fax is not email. The analog phone network is part of every fax delivery, and that leg introduces delays that no software can eliminate:- Busy lines require waiting and retrying. If a medical office receives dozens of faxes per hour, the line may be busy for minutes at a time.
- Line quality varies. A noisy connection forces error correction (ECM) retransmissions that slow the process.
- Receiving equipment matters. An old fax machine negotiates at 9600 bps. A modern FoIP gateway negotiates at 14400 bps. You cannot control what the recipient uses.
What to do next
- Webhooks - configure endpoints and per-fax overrides
- Track delivery status - poll or stream fax status updates
- Sandbox - simulate busy lines, failures, and retries with magic numbers
- Errors - machine-readable error codes and next actions for failed faxes