docsmint-com Share API

Sharing and guest access

Operations 9

POST /api/share/ Post api share #
GET /api/share/ Get api share #
GET /api/share/{token} Get api share by token #
DELETE /api/share/{id} Delete api share by id #
PATCH /api/share/{id} Patch api share by id #
POST /api/share/{id}/guests Post api share by id guests #
DELETE /api/share/{id}/guests/{email} Delete api share by id guests by email #
GET /api/share/{token}/folders/{folderId} Get api share by token folders by folder id #
GET /api/share/{token}/documents/{docId} Get api share by token documents by doc id #

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/docsmint-com:docsmint-com-share-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

docsmint-com-share-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DocsMint Share API
  description: Self-hosted AI-native knowledge workspace and installable PWA with hybrid search, GraphRAG, REST, SDK, CLI, and MCP access for people and AI agents.
  version: 2.0.4
  contact:
    name: HiAi-gg
    url: https://github.com/HiAi-gg/docsmint
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
tags:
- name: Share
  description: Sharing and guest access
paths:
  /api/share/:
    post:
      operationId: postApiShare
      responses:
        '200': {}
      tags:
      - Share
      summary: Post api share
      x-summary-source: derived
    get:
      operationId: getApiShare
      responses:
        '200': {}
      tags:
      - Share
      summary: Get api share
      x-summary-source: derived
  /api/share/{token}:
    get:
      operationId: getApiShareByToken
      parameters:
      - schema:
          type: string
        in: path
        name: token
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Get api share by token
      x-summary-source: derived
  /api/share/{id}:
    delete:
      operationId: deleteApiShareById
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Delete api share by id
      x-summary-source: derived
    patch:
      operationId: patchApiShareById
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Patch api share by id
      x-summary-source: derived
  /api/share/{id}/guests:
    post:
      operationId: postApiShareByIdGuests
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Post api share by id guests
      x-summary-source: derived
  /api/share/{id}/guests/{email}:
    delete:
      operationId: deleteApiShareByIdGuestsByEmail
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      - schema:
          type: string
        in: path
        name: email
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Delete api share by id guests by email
      x-summary-source: derived
  /api/share/{token}/folders/{folderId}:
    get:
      operationId: getApiShareByTokenFoldersByFolderId
      parameters:
      - schema:
          type: string
        in: path
        name: token
        required: true
      - schema:
          type: string
        in: path
        name: folderId
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Get api share by token folders by folder id
      x-summary-source: derived
  /api/share/{token}/documents/{docId}:
    get:
      operationId: getApiShareByTokenDocumentsByDocId
      parameters:
      - schema:
          type: string
        in: path
        name: token
        required: true
      - schema:
          type: string
        in: path
        name: docId
        required: true
      responses:
        '200': {}
      tags:
      - Share
      summary: Get api share by token documents by doc id
      x-summary-source: derived
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: hiai_docs_*
      description: Global or category-scoped DocsMint API key. The operator key is also accepted as a bearer token on operator-capable routes.
    SessionAuth:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: Better Auth browser session. Secure deployments may use the __Secure- prefixed cookie name.
    OperatorApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Static HIAI_DOCS_API_KEY for /api/admin operator endpoints.