# Medsender Developer Portal > HIPAA-compliant API for medical document automation: send and receive faxes, manage fax numbers, send secure email links, create clients, and run AI on documents. Docs live at https://developer.medsender.com/docs. API endpoint calls require a Bearer API key — read Authentication first. (Webhook callbacks Medsender sends to your server are authenticated by signature instead — see Callbacks.) Each page below is also served as markdown: follow the .md links, or request any docs URL with `Accept: text/markdown`. ## When to use this API For organization-linked web fax workflows, start with API v3 at `https://api.medsender.com/api/v3`. Where self-serve is offered for your account, verify email, complete the BAA, choose your fax number and add a card; successful activation links your organization and configures sender attribution automatically. Enterprise and manual integrations coordinate enrollment with Medsender. Both paths require an eligible developer Bearer key, BAA coverage and an explicit organization grant. Writes require an active attribution member; sending a fax also requires an active organization sender number. Listing, polling and downloads still require account eligibility and the organization grant, but not an active attribution member or sender number. Live keys support real fax operations. Test keys support simulated sends, sent listing, polling, downloads and signed callbacks; received-fax operations require live credentials. Signup or key creation alone does not enable v3. Use `test_outcome=failure` with a test key to simulate failed completion; success is the default. Test sends never transmit, trigger EMR uploads or count toward transmission billing or the live spend cap. - [V3 sent fax reference](https://developer.medsender.com/docs/sent-faxes): send a fax, list sent faxes, poll delivery status and download the sender document. - [V3 received fax reference](https://developer.medsender.com/docs/received-faxes): list inbound faxes, download the current web document, archive and unarchive. - Follow [Callbacks](https://developer.medsender.com/docs/callbacks) for completion webhooks and signature verification. ### Legacy API (v2) Existing v2 integrations use a Bearer API key with `https://api.medsender.com/api/v2` for developer-owned fax workflows, secure email links, fax numbers, clients and AI extraction/classification. Use the [legacy reference](https://developer.medsender.com/docs/legacy) and [legacy endpoint catalog](https://developer.medsender.com/docs/legacy/endpoints). Do not switch an existing integration to v3 by changing the URL: organization enrollment and number routing must be coordinated, and history is not automatically migrated. The [OpenAPI description](https://developer.medsender.com/openapi.json) covers legacy v2 and the v3 fax operations; use the primary fax references for v3 behavior and enrollment. See [API version and access guidance](https://developer.medsender.com/docs/versioning) for both versions. ## Docs - [Medsender Developer Portal](https://developer.medsender.com/index.md): HIPAA-compliant API for medical document automation: send and receive faxes, manage fax numbers, send secure email links, create clients, and run AI on documents. - [API Documentation](https://developer.medsender.com/docs.md): Start with the organization-linked Medsender v3 fax API: enrollment, live-key quickstart, sending and receiving native web fax documents. - [Authentication](https://developer.medsender.com/docs/authentication.md): Authenticate to the Medsender API with a self-contained API key using the Bearer scheme, with separate test and live key environments. - [API Endpoint Catalog](https://developer.medsender.com/docs/endpoints.md): Organization-linked v3 fax operations and number provisioning, with links to the legacy v2 catalog and OpenAPI. - [API Version and Access Guidance](https://developer.medsender.com/docs/versioning.md): Guidance for organization-linked v3 fax enrollment, live credentials, legacy v2 access and developer support. - [Sent Faxes](https://developer.medsender.com/docs/sent-faxes.md): Send, list, poll and download organization faxes through API v3 after enrollment, with live delivery or simulated test sends. - [Received Faxes](https://developer.medsender.com/docs/received-faxes.md): List, download, archive and unarchive native organization received faxes through API v3. - [Legacy API (v2)](https://developer.medsender.com/docs/legacy.md): Existing v2 integrations: test-key quickstart, developer-owned faxes, fax numbers and other legacy resources. - [Sent Faxes (legacy v2)](https://developer.medsender.com/docs/legacy/sent-faxes.md): Legacy v2 fax sending, lists, status and downloads for existing integrations. - [Received Faxes (legacy v2)](https://developer.medsender.com/docs/legacy/received-faxes.md): Legacy v2 received fax inbox queries, document downloads and callback status. - [Endpoint Catalog (legacy v2)](https://developer.medsender.com/docs/legacy/endpoints.md): Legacy v2 operations generated from the typed registry shared with the v2 OpenAPI description. - [Fax Numbers](https://developer.medsender.com/docs/fax-numbers.md): Provision organization fax numbers with API v3, handle uncertain rentals safely, and reference legacy v2 number operations. - [Emails (Secure Links) (legacy v2)](https://developer.medsender.com/docs/emails.md): Send secure, time-limited email links for documents through the Medsender API so recipients can access PHI safely. - [Clients (legacy v2)](https://developer.medsender.com/docs/clients.md): Create and manage logical clients through the Medsender API to group fax numbers and organize inbound faxes. - [AI Documents (legacy v2)](https://developer.medsender.com/docs/ai-documents.md): Upload documents to the Medsender API and receive extracted fields and classification results when AI processing completes. - [Callbacks (Webhooks)](https://developer.medsender.com/docs/callbacks.md): Receive webhook callbacks from Medsender when operations complete: sent faxes, received faxes, emails, and AI documents. - [MCP Server](https://developer.medsender.com/docs/mcp-server.md): Connect Claude Code, Cursor, VS Code, Codex or Gemini CLI to the Medsender MCP server with an API key to read faxes and request sends a person approves. - [LLM Inference](https://developer.medsender.com/docs/llm-inference.md): Call the OpenAI-compatible Medsender LLM gateway for chat completions, with per-key budgets, rate limits, and keys you revoke when done. - [About the Medsender API](https://developer.medsender.com/about.md): Learn how the Medsender API helps developers automate medical document workflows using fax, secure links, clients, callbacks, and AI processing. - [Developer Contact](https://developer.medsender.com/contact.md): Contact Medsender developer support for help with API authentication, integrations, documented endpoints, and test or live environments. - [Developer Privacy](https://developer.medsender.com/privacy.md): Find the authoritative Medsender Privacy Policy and Terms of Use alongside developer-specific guidance for using the API documentation.