Medsender Secure Links API

The Secure Links API from Medsender — 2 operation(s) for secure links.

GitHub OpenAPI

Operations 2

POST /emails Send a secure email link #
GET /emails/{email_id} Retrieve a secure-link email #

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-secure-links-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-secure-links-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medsender Secure Links 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: Secure Links
paths:
  /emails:
    post:
      operationId: createEmail
      tags:
      - Secure Links
      summary: Send a secure email link
      description: Uploads a document and sends its recipient a secure, time-limited email link.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/EmailCreateRequest'
      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 secure-link email was accepted for delivery.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailQueued'
  /emails/{email_id}:
    get:
      operationId: getEmail
      tags:
      - Secure Links
      summary: Retrieve a secure-link email
      description: Retrieves the documented status and secure-link fields for one email.
      security:
      - bearerAuth: []
      parameters:
      - name: email_id
        in: path
        description: The email identifier returned when the secure link was created.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The requested secure-link email.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Email'
        '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:
    Email:
      type: object
      required:
      - emailId
      - recipientEmail
      - emailStatus
      - recordStatus
      - isTest
      - errorDetails
      properties:
        emailId:
          type: string
        recipientEmail:
          type: string
          format: email
        recipientName:
          type:
          - string
          - 'null'
        senderName:
          type:
          - string
          - 'null'
        replyToEmail:
          anyOf:
          - type:
            - string
            - 'null'
            format: email
          - type: string
            const: ''
        subject:
          type:
          - string
          - 'null'
        note:
          type:
          - string
          - 'null'
        patientName:
          type:
          - string
          - 'null'
        patientDob:
          type:
          - string
          - 'null'
          format: date
        recordStatus:
          type:
          - string
          - 'null'
          enum:
          - activated
          - archived
          - revoked
          - null
        emailStatus:
          type: string
          enum:
          - queued
          - inprogress
          - success
          - failure
        secureLink:
          type:
          - string
          - 'null'
          format: uri
        expiry:
          type:
          - string
          - 'null'
          format: date-time
        sentAt:
          type:
          - string
          - 'null'
          format: date-time
        lastViewedAt:
          type:
          - string
          - 'null'
          format: date-time
        isTest:
          type: boolean
        errorDetails:
          $ref: '#/components/schemas/SecureLinkErrorDetails'
    EmailQueued:
      type: object
      required:
      - message
      - emailId
      properties:
        message:
          type: string
        emailId:
          type: string
    EmailCreateRequest:
      type: object
      required:
      - file
      - recipient_email
      - expire_after
      properties:
        file:
          type: string
          format: binary
          description: PDF or TIFF document.
        recipient_email:
          type: string
          format: email
        recipient_name:
          type: string
        sender_name:
          type: string
        reply_to_email:
          type: string
          format: email
        subject:
          type: string
        note:
          type: string
        patient_name:
          type: string
        patient_dob:
          type: string
          format: date
        expire_after:
          type: integer
          minimum: 1
          maximum: 180
        callback_url:
          type: string
          format: uri
    SecureLinkErrorDetails:
      type: object
      required:
      - errorCode
      - errorDetails
      properties:
        errorCode:
          type:
          - string
          - 'null'
        errorDetails:
          type:
          - string
          - 'null'
    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
  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