TidyFax developer documentation.

Read the TidyFax API reference, authentication, limits, retry behavior, and MCP connection instructions.

Start with a working example OpenAPI v1 reference

Authentication

Generate a scoped key in Developer settings. Pass it in the Authorization: Bearer header. Use fax.quote for uploads and quotes, fax.send for sending, and separate read permissions for tracking, receipts, account, directory, and inbound faxes.

MCP client setup

Developer settings includes a built-in read-only MCP test. Sign in and select Test MCP in the browser to exercise OAuth and the balance tool before configuring an external client.

Connect to https://tidyfax.com/mcp using a registered client and Streamable HTTP. Follow the OAuth discovery links advertised by the bearer challenge. Use an authorization code with S256 PKCE and resource=https://tidyfax.com/mcp. Request offline_access if the client supports refresh. Complete owner consent and use the scoped access token in the bearer header.

Use Connected apps to revoke access. Discuss client registration with TidyFax support.

Quotes, approval, and payment

Upload a document, then create a quote with the destination. A quote expires within 15 minutes. Review the counted pages and eligible funding. If the response includes an approval URL, open it as the account owner before retrying the same operation. Personal credits and business pages are separate. For an enabled machine payment flow, request a quote with machine_payment funding. Use the returned payment endpoint with the original bearer credential and idempotency key. A capable client can complete the Payment challenge using the indicated Payment-Authorization header. Check the original tracking reference after an uncertain response. Live machine payments require Stripe-enabled accounts and are currently unavailable.

Delivery and retries

Submit with an Idempotency-Key that is unique within the account. After a timeout or a dropped response, retry the identical quote and key. Use the returned tracking ID to query status and attempts. If reconciliation is required, wait for status updates before making another request to send.

Webhooks

When enabled, register a public HTTPS endpoint and copy the signing secret. On the signed endpoint.verification event, respond with JSON containing the same challenge value.

Verify the lowercase hex HMAC-SHA256 of timestamp + "." + rawBody using your signing secret. Compare in constant time against the v1= value in TidyFax-Signature. Reject TidyFax-Timestamp values outside a five-minute window and record the event id before processing so a retry cannot repeat a side effect. Return a 2xx response after recording the event.

Fax events include fax.queued, fax.sending, fax.delivered, fax.failed, fax.action_required, and eligible receiving.fax_received. Events contain tracking references and state metadata. Delivery is retried up to eight attempts. Use fax status to confirm the latest state.

Limits and troubleshooting

  • Upload PDF, PNG, or JPEG documents up to 20 MB. Account and entitlement page limits also apply.
  • 401 indicates a missing, expired, or revoked credential. 403 indicates a missing scope or account permission.
  • 402 indicates that the quoted funding is unavailable. 409 can indicate required approval, an expired quote, or an idempotency conflict. Read the machine-readable code field.
  • For 429, wait for the advertised Retry-After interval. For a temporary failure, preserve the original submission key.

Directory results

Search by organization, city, department, or fax number. Use the state filter to narrow the search. Verify the recipient and document purpose independently before sending.