Medsender V3 Sent Faxes API

The V3 Sent Faxes API from Medsender — 2 operation(s) for v3 sent faxes.

GitHub OpenAPI

Operations 3

GET /api/v3/sent_faxes List organization sent faxes #
POST /api/v3/sent_faxes Send a fax #
GET /api/v3/sent_faxes/{id} Get a sent fax #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/medsender:medsender-v3-sent-faxes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

medsender-v3-sent-faxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medsender V3 Sent Faxes API
  version: '2'
  description: Machine-readable representation of the existing Medsender developer documentation. Use Bearer API keys and the established direct API server below. The v3 fax operations (paths under /api/v3) name their own server, https://api.medsender.com, and require organization enrollment.
servers:
- url: https://api.medsender.com/api/v2
tags:
- name: V3 Sent Faxes
paths:
  /api/v3/sent_faxes:
    servers:
    - url: https://api.medsender.com
    get:
      operationId: v3ListSentFaxes
      tags:
      - V3 Sent Faxes
      summary: List organization sent faxes
      description: Sent document deliveries in the linked organization. Live keys list live deliveries; test keys list simulated test sends. The sender_name, record_status and is_test filters return 400.
      security:
      - bearerAuth: []
      parameters:
      - name: page
        in: query
        description: Page number, from 1.
        schema:
          type: integer
          minimum: 1
      - name: page_size
        in: query
        description: Results per page, 1–100 (default 10). Any value outside 1–100 returns 400.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 10
      - name: from_number
        in: query
        description: Sender fax number.
        schema:
          type: string
      - name: to_number
        in: query
        description: Destination fax number.
        schema:
          type: string
      - name: recipient_name
        in: query
        description: Recipient name.
        schema:
          type: string
      - name: patient_name
        in: query
        description: Patient name contains.
        schema:
          type: string
      - name: patient_dob
        in: query
        description: Patient date of birth, YYYY-MM-DD.
        schema:
          type: string
          format: date
      - name: date_start
        in: query
        description: Sent on or after. YYYY-MM-DD; ISO 8601 timestamps are also accepted.
        schema:
          type: string
      - name: date_end
        in: query
        description: Sent on or before. YYYY-MM-DD; ISO 8601 timestamps are also accepted.
        schema:
          type: string
      - name: sort
        in: query
        description: Sort by send date or patient date of birth. Other values return 400.
        schema:
          type: string
          enum:
          - date
          - dob
      - name: sort_dir
        in: query
        description: Sort direction.
        schema:
          type: string
          enum:
          - asc
          - desc
      responses:
        '200':
          description: Sent faxes and pagination meta.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3SentFaxList'
        '400':
          description: Invalid argument, filter or body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: 'Invalid or revoked credentials, or a refusal with a code: TEST_KEY_UNSUPPORTED (a test key on a live-only operation), EMAIL_UNCONFIRMED, ORGANIZATION_NOT_LINKED, or, with production-access enforcement off, PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3CredentialError'
        '402':
          description: 'PAYMENT_REQUIRED: live faxing is paused for a self-serve billing issue. Received-fax reads stay available while BAA coverage is current.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3PaymentError'
        '403':
          description: With production-access enforcement on, an ineligible live-key account (PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3CredentialError'
    post:
      operationId: v3CreateSentFax
      tags:
      - V3 Sent Faxes
      summary: Send a fax
      description: '201 means the send was accepted, not delivered. A repeated POST can send another fax: do not retry blindly after an unknown outcome. Test keys simulate the send.'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/V3SentFaxCreateRequest'
      responses:
        '201':
          description: Accepted for sending.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3FaxQueued'
        '400':
          description: Invalid argument, filter or body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: 'Invalid or revoked credentials, or a refusal with a code: TEST_KEY_UNSUPPORTED (a test key on a live-only operation), EMAIL_UNCONFIRMED, ORGANIZATION_NOT_LINKED, or, with production-access enforcement off, PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3CredentialError'
        '402':
          description: SPEND_LIMIT_REACHED or PAYMENT_REQUIRED.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3PaymentError'
        '403':
          description: With production-access enforcement on, an ineligible live-key account (PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3CredentialError'
  /api/v3/sent_faxes/{id}:
    servers:
    - url: https://api.medsender.com
    get:
      operationId: v3GetSentFax
      tags:
      - V3 Sent Faxes
      summary: Get a sent fax
      description: Status and details of one sent fax, with secureLink to the sender document.
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        description: The fax `sendToken` from a list result.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The sent fax.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3SentFaxDetail'
        '401':
          description: 'Invalid or revoked credentials, or a refusal with a code: TEST_KEY_UNSUPPORTED (a test key on a live-only operation), EMAIL_UNCONFIRMED, ORGANIZATION_NOT_LINKED, or, with production-access enforcement off, PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3CredentialError'
        '402':
          description: 'PAYMENT_REQUIRED: live faxing is paused for a self-serve billing issue. Received-fax reads stay available while BAA coverage is current.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3PaymentError'
        '403':
          description: With production-access enforcement on, an ineligible live-key account (PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V3CredentialError'
        '404':
          description: Not found within the linked organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    V3CredentialError:
      type: object
      required:
      - error
      description: 'Credential and eligibility refusals (401, 403): a string error with an optional refusal code.'
      properties:
        error:
          type: string
        code:
          type: string
          description: For example TEST_KEY_UNSUPPORTED, EMAIL_UNCONFIRMED, ORGANIZATION_NOT_LINKED, PRODUCTION_ACCESS_REQUIRED or BAA_REQUIRED.
    V3SentFaxCreateRequest:
      type: object
      required:
      - file
      - from_number
      - to_number
      properties:
        file:
          type: string
          format: binary
          description: The document to send.
        from_number:
          type: string
          description: An active fax number owned by the linked organization.
        to_number:
          type: string
          description: Destination fax number.
        document_title:
          type: string
        patient_name:
          type: string
        patient_dob:
          type: string
          format: date
        recipient_name:
          type: string
        note:
          type: string
        document_type:
          type: string
          enum:
          - both
          - document_only
          default: both
          description: document_only omits the cover sheet.
        test_outcome:
          type: string
          enum:
          - success
          - failure
          default: success
          description: 'Test keys only: the simulated completion. Returns 400 with a live key.'
    V3SentFax:
      type: object
      required:
      - sendToken
      - fromNumber
      - toNumber
      - recipientName
      - recordStatus
      - patientName
      - patientDob
      - documentTitle
      - senderName
      - expiry
      - viewCount
      - note
      - sentAt
      - completedAt
      - sentStatus
      - documentType
      - errorDetails
      - numPages
      - isTest
      properties:
        sendToken:
          type: string
        fromNumber:
          type:
          - string
          - 'null'
        toNumber:
          type:
          - string
          - 'null'
          description: E.164 for fax deliveries; can be null for an email delivery.
        recipientName:
          type:
          - string
          - 'null'
        recordStatus:
          type: string
          const: activated
        patientName:
          type:
          - string
          - 'null'
        patientDob:
          type:
          - string
          - 'null'
          format: date
        documentTitle:
          type:
          - string
          - 'null'
        senderName:
          type:
          - string
          - 'null'
          description: Retained for compatibility; not the cover-sheet display name.
        expiry:
          type:
          - string
          - 'null'
          format: date-time
        viewCount:
          type:
          - integer
          - 'null'
        note:
          type:
          - string
          - 'null'
        sentAt:
          type:
          - string
          - 'null'
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        sentStatus:
          type:
          - string
          - 'null'
          description: Delivery status, for example inprogress, success, failure, scheduled or resent; can be null for an email delivery.
        documentType:
          type: string
          const: both
          description: Always both, even for a document-only send.
        errorDetails:
          $ref: '#/components/schemas/V3FaxErrorDetails'
        numPages:
          type:
          - integer
          - 'null'
          description: Transmitted pages, including any cover sheet.
        isTest:
          type: boolean
    V3FaxErrorDetails:
      type:
      - object
      - 'null'
      required:
      - errorMessage
      description: Set only when sentStatus is failure.
      properties:
        errorMessage:
          type:
          - string
          - 'null'
    PaginationMeta:
      type: object
      required:
      - totalCount
      - totalPages
      - perPage
      - page
      properties:
        totalCount:
          type: integer
          minimum: 0
        totalPages:
          type: integer
          minimum: 0
        perPage:
          type: integer
          minimum: 1
        page:
          type: integer
          minimum: 1
    V3FaxQueued:
      type: object
      required:
      - message
      - faxId
      properties:
        message:
          type: string
        faxId:
          type: string
          description: The new fax’s sendToken.
    V3SentFaxList:
      type: object
      required:
      - sentFaxes
      - meta
      properties:
        sentFaxes:
          type: array
          items:
            $ref: '#/components/schemas/V3SentFax'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    V3PaymentError:
      type: object
      required:
      - error
      description: 402 refusals. Tell them apart by error.code.
      properties:
        error:
          type: object
          required:
          - status
          - code
          properties:
            status:
              type: integer
              const: 402
            title:
              type: string
            detail:
              type: string
            code:
              type: string
              enum:
              - SPEND_LIMIT_REACHED
              - PAYMENT_REQUIRED
    ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - status
          - title
          - detail
          properties:
            status:
              type: integer
            title:
              type: string
            detail:
              anyOf:
              - type: string
              - type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
    V3SentFaxDetail:
      type: object
      required:
      - sendToken
      - fromNumber
      - toNumber
      - recipientName
      - recordStatus
      - patientName
      - patientDob
      - documentTitle
      - senderName
      - expiry
      - viewCount
      - note
      - sentAt
      - completedAt
      - sentStatus
      - documentType
      - errorDetails
      - numPages
      - isTest
      - secureLink
      properties:
        sendToken:
          type: string
        fromNumber:
          type:
          - string
          - 'null'
        toNumber:
          type:
          - string
          - 'null'
          description: E.164 for fax deliveries; can be null for an email delivery.
        recipientName:
          type:
          - string
          - 'null'
        recordStatus:
          type: string
          const: activated
        patientName:
          type:
          - string
          - 'null'
        patientDob:
          type:
          - string
          - 'null'
          format: date
        documentTitle:
          type:
          - string
          - 'null'
        senderName:
          type:
          - string
          - 'null'
          description: Retained for compatibility; not the cover-sheet display name.
        expiry:
          type:
          - string
          - 'null'
          format: date-time
        viewCount:
          type:
          - integer
          - 'null'
        note:
          type:
          - string
          - 'null'
        sentAt:
          type:
          - string
          - 'null'
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        sentStatus:
          type:
          - string
          - 'null'
          description: Delivery status, for example inprogress, success, failure, scheduled or resent; can be null for an email delivery.
        documentType:
          type: string
          const: both
          description: Always both, even for a document-only send.
        errorDetails:
          $ref: '#/components/schemas/V3FaxErrorDetails'
        numPages:
          type:
          - integer
          - 'null'
          description: Transmitted pages, including any cover sheet.
        isTest:
          type: boolean
        secureLink:
          type:
          - string
          - 'null'
          format: uri
          description: Signed link to the sent PDF; expires after five minutes.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Medsender API key. Test keys start with sk_test_; live keys start with sk_live_.
externalDocs:
  description: API version and access guidance
  url: https://developer.medsender.com/docs/versioning