Medsender Received Faxes API

The Received Faxes API from Medsender — 4 operation(s) for received faxes.

GitHub OpenAPI

Operations 4

GET /received_faxes List received faxes #
GET /received_faxes/{send_token} Retrieve a received fax #
POST /received_faxes/test_receive Simulate a received fax #
POST /received_faxes/{send_token}/forward_as_fax Forward a received 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-received-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-received-faxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medsender Received 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: Received Faxes
paths:
  /received_faxes:
    get:
      operationId: listReceivedFaxes
      tags:
      - Received Faxes
      summary: List received faxes
      description: Returns a paginated list of received faxes for the authenticated account.
      security:
      - bearerAuth: []
      parameters:
      - name: page
        in: query
        description: Page number to return.
        schema:
          type: integer
      - name: page_size
        in: query
        description: Number of records per page.
        schema:
          type: integer
          minimum: 1
          maximum: 100
      - name: from_number
        in: query
        description: Filter by sending fax number.
        schema:
          type: string
      - name: to_number
        in: query
        description: Filter by the Medsender fax number that received the fax.
        schema:
          type: string
      - name: caller_name
        in: query
        description: Filter by caller ID name.
        schema:
          type: string
      - name: date_start
        in: query
        description: Start of the documented date range filter.
        schema:
          type: string
      - name: date_end
        in: query
        description: End of the documented date range filter.
        schema:
          type: string
      - name: fax_status
        in: query
        description: Filter by reception status.
        schema:
          type: string
      - name: is_test
        in: query
        description: Filter test or live records.
        schema:
          type: boolean
      - name: client
        in: query
        description: Filter by client identifier.
        schema:
          type: string
      - name: callback_status
        in: query
        description: Filter by callback delivery status.
        schema:
          type: string
      responses:
        '200':
          description: Received faxes and pagination metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceivedFaxList'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The Bearer API key was missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /received_faxes/{send_token}:
    get:
      operationId: getReceivedFax
      tags:
      - Received Faxes
      summary: Retrieve a received fax
      description: Retrieves the documented details for one received fax.
      security:
      - bearerAuth: []
      parameters:
      - name: send_token
        in: path
        description: The fax send token returned by the API.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The requested received fax.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceivedFax'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The Bearer API key was missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /received_faxes/test_receive:
    post:
      operationId: testReceiveFax
      tags:
      - Received Faxes
      summary: Simulate a received fax
      description: Uploads a PDF or TIFF to simulate an inbound fax in the test workflow.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ReceivedFaxTestRequest'
      responses:
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The Bearer API key was missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        2XX:
          description: The test fax was accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageResponse'
  /received_faxes/{send_token}/forward_as_fax:
    post:
      operationId: forwardReceivedFax
      tags:
      - Received Faxes
      summary: Forward a received fax
      description: Forwards an existing received fax to another fax number.
      security:
      - bearerAuth: []
      parameters:
      - name: send_token
        in: path
        description: The fax send token returned by the API.
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ForwardFaxRequest'
      responses:
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: The Bearer API key was missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        2XX:
          description: The forwarded fax was accepted for delivery.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FaxQueued'
components:
  schemas:
    ReceivedFax:
      type: object
      required:
      - sendToken
      - fromNumber
      - toNumber
      - faxStatus
      - isTest
      properties:
        sendToken:
          type: string
        fromNumber:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
        toNumber:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
        callerName:
          type:
          - string
          - 'null'
        faxStatus:
          type: string
          enum:
          - success
          - failure
        sentAt:
          type:
          - string
          - 'null'
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        numPages:
          type:
          - integer
          - 'null'
          minimum: 0
        isTest:
          type: boolean
        errorDetails:
          $ref: '#/components/schemas/FaxErrorDetails'
        callbackStatus:
          type:
          - string
          - 'null'
          enum:
          - success
          - failed
          - pending
          - null
        client:
          type:
          - string
          - 'null'
        documentClassification:
          type:
          - string
          - 'null'
        secondaryCategory:
          type:
          - string
          - 'null'
        patientName:
          type:
          - string
          - 'null'
        patientFirstName:
          type:
          - string
          - 'null'
        patientMiddleName:
          type:
          - string
          - 'null'
        patientLastName:
          type:
          - string
          - 'null'
        patientDob:
          type:
          - string
          - 'null'
          format: date
        insuranceMemberId:
          type:
          - string
          - 'null'
        referenceNumber:
          type:
          - string
          - 'null'
        authorizationNumber:
          type:
          - string
          - 'null'
        codes:
          type:
          - string
          - 'null'
          description: Extracted codes as stored text, or null when AI extraction is absent. The text is not guaranteed to be JSON.
        authDateRangeStart:
          type:
          - string
          - 'null'
          format: date
        authDateRangeEnd:
          type:
          - string
          - 'null'
          format: date
        denialReason:
          type:
          - string
          - 'null'
        secureLink:
          type:
          - string
          - 'null'
          format: uri
    FaxQueued:
      type: object
      required:
      - message
      - faxId
      properties:
        message:
          type: string
        faxId:
          type: string
    ForwardFaxRequest:
      type: object
      required:
      - to_number
      properties:
        to_number:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
    ReceivedFaxTestRequest:
      type: object
      required:
      - file
      - to_number
      - from_number
      properties:
        file:
          type: string
          format: binary
          description: PDF or TIFF file.
        to_number:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
        from_number:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
    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
    ReceivedFaxList:
      type: object
      required:
      - receivedFaxes
      - meta
      properties:
        receivedFaxes:
          type: array
          items:
            $ref: '#/components/schemas/ReceivedFax'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    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
    MessageResponse:
      type: object
      required:
      - message
      properties:
        message:
          type: string
    FaxErrorDetails:
      type:
      - object
      - 'null'
      required:
      - errorMessage
      properties:
        errorMessage:
          type:
          - string
          - 'null'
  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