Medsender Sent Faxes API

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

GitHub OpenAPI

Operations 3

GET /sent_faxes List sent faxes #
POST /sent_faxes Send a fax #
GET /sent_faxes/{send_token} Retrieve 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-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-sent-faxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medsender 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: Sent Faxes
paths:
  /sent_faxes:
    get:
      operationId: listSentFaxes
      tags:
      - Sent Faxes
      summary: List sent faxes
      description: Returns a paginated list of sent 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 the Medsender fax number that sent the fax.
        schema:
          type: string
      - name: to_number
        in: query
        description: Filter by destination fax number.
        schema:
          type: string
      - name: patient_name
        in: query
        description: Filter by patient name.
        schema:
          type: string
      - name: patient_dob
        in: query
        description: Filter by patient date of birth.
        schema:
          type: string
      - name: sender_name
        in: query
        description: Filter by sender name.
        schema:
          type: string
      - name: recipient_name
        in: query
        description: Filter by recipient 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: is_test
        in: query
        description: Filter test or live records.
        schema:
          type: boolean
      - name: sort
        in: query
        description: Field used to sort results.
        schema:
          type: string
      - name: sort_dir
        in: query
        description: Sort direction.
        schema:
          type: string
      responses:
        '200':
          description: Sent faxes and pagination metadata.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentFaxList'
        '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'
    post:
      operationId: createSentFax
      tags:
      - Sent Faxes
      summary: Send a fax
      description: Uploads a PDF or TIFF and queues a fax for delivery.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/SentFaxCreateRequest'
      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 fax was accepted for delivery.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FaxQueued'
  /sent_faxes/{send_token}:
    get:
      operationId: getSentFax
      tags:
      - Sent Faxes
      summary: Retrieve a sent fax
      description: Retrieves the documented details and delivery status for one sent 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 sent fax.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentFax'
        '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'
components:
  schemas:
    FaxQueued:
      type: object
      required:
      - message
      - faxId
      properties:
        message:
          type: string
        faxId:
          type: string
    SentFaxCreateRequest:
      type: object
      required:
      - file
      - from_number
      - to_number
      properties:
        file:
          type: string
          format: binary
          description: PDF or TIFF file.
        from_number:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
        to_number:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
        callback_url:
          type: string
          format: uri
        patient_name:
          type: string
        patient_dob:
          type: string
          format: date
        sender_name:
          type: string
        recipient_name:
          type: string
        note:
          type: string
        document_type:
          type: string
          enum:
          - both
          - document_only
          - access_code_sheet_only
          default: both
    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
    SentFaxList:
      type: object
      required:
      - sentFaxes
      - meta
      properties:
        sentFaxes:
          type: array
          items:
            $ref: '#/components/schemas/SentFax'
        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
    SentFax:
      type: object
      required:
      - sendToken
      - fromNumber
      - toNumber
      - sentStatus
      - 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}$
        sentStatus:
          type: string
          enum:
          - queued
          - inprogress
          - success
          - failure
        sentAt:
          type:
          - string
          - 'null'
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
        numPages:
          type:
          - integer
          - 'null'
          minimum: 0
        errorDetails:
          $ref: '#/components/schemas/FaxErrorDetails'
        isTest:
          type:
          - boolean
          - 'null'
          description: Null for forwarded faxes when no test flag was set.
        patientName:
          type:
          - string
          - 'null'
        patientDob:
          type:
          - string
          - 'null'
          format: date
        senderName:
          type:
          - string
          - 'null'
        recipientName:
          type:
          - string
          - 'null'
        note:
          type:
          - string
          - 'null'
        recordStatus:
          type: string
          enum:
          - activated
          - archived
          - revoked
        documentType:
          type: string
          enum:
          - both
          - document_only
          - access_code_sheet_only
        expiry:
          type:
          - string
          - 'null'
          format: date-time
        viewCount:
          type: integer
          minimum: 0
        secureLink:
          type:
          - string
          - 'null'
          format: uri
    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