Medsender Clients API

The Clients API from Medsender — 2 operation(s) for clients.

GitHub OpenAPI

Operations 4

GET /clients List clients #
POST /clients Create a client #
GET /clients/{client_id} Retrieve a client #
PATCH /clients/{client_id} Update a client #

Specifications

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-clients-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-clients-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Medsender Clients 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: Clients
paths:
  /clients:
    get:
      operationId: listClients
      tags:
      - Clients
      summary: List clients
      description: Returns all logical clients configured for the authenticated account.
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The account clients.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientList'
        '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: createClient
      tags:
      - Clients
      summary: Create a client
      description: Creates a logical client and optionally assigns a fax number.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientCreateRequest'
      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 created client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientEnvelope'
  /clients/{client_id}:
    get:
      operationId: getClient
      tags:
      - Clients
      summary: Retrieve a client
      description: Retrieves one logical client and its assigned fax numbers.
      security:
      - bearerAuth: []
      parameters:
      - name: client_id
        in: path
        description: The client identifier.
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: The requested client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientEnvelope'
        '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'
    patch:
      operationId: updateClient
      tags:
      - Clients
      summary: Update a client
      description: Updates an existing logical client.
      security:
      - bearerAuth: []
      parameters:
      - name: client_id
        in: path
        description: The client identifier.
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientUpdateRequest'
      responses:
        '200':
          description: The updated client.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientEnvelope'
        '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:
    ClientCreateRequest:
      type: object
      required:
      - client
      properties:
        client:
          type: object
          required:
          - name
          additionalProperties: false
          properties:
            name:
              type: string
            fax_number_id:
              type:
              - string
              - 'null'
              format: uuid
    Client:
      type: object
      required:
      - clientId
      - name
      - faxNumbers
      properties:
        clientId:
          type: string
          format: uuid
        name:
          type: string
        faxNumbers:
          type: array
          items:
            $ref: '#/components/schemas/ClientFaxNumber'
    ClientFaxNumber:
      type: object
      required:
      - id
      - number
      - callbackUrl
      - uri
      properties:
        id:
          type: string
          format: uuid
        number:
          type: string
          description: Fax number in E.164 format.
          pattern: ^\+[1-9]\d{1,14}$
        callbackUrl:
          anyOf:
          - type:
            - string
            - 'null'
            format: uri
          - type: string
            const: ''
        uri:
          type: string
          format: uri
    ClientList:
      type: object
      required:
      - clients
      properties:
        clients:
          type: array
          items:
            $ref: '#/components/schemas/Client'
    ClientEnvelope:
      type: object
      required:
      - client
      properties:
        client:
          $ref: '#/components/schemas/Client'
    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
    ClientUpdateRequest:
      type: object
      required:
      - client
      properties:
        client:
          type: object
          required:
          - name
          additionalProperties: false
          properties:
            name:
              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