docsmint-com Auth API

Authentication endpoints

Operations 2

POST /api/auth/update-user Post api auth update user #
POST /api/auth/change-email Post api auth change 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/docsmint-com:docsmint-com-auth-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-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DocsMint Auth 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: Auth
  description: Authentication endpoints
paths:
  /api/auth/update-user:
    post:
      operationId: postApiAuthUpdateUser
      responses:
        '200': {}
        '409':
          $ref: '#/components/responses/AccountPurgeFenced'
      security:
      - SessionAuth: []
      tags:
      - Auth
      summary: Post api auth update user
      x-summary-source: derived
  /api/auth/change-email:
    post:
      operationId: postApiAuthChangeEmail
      responses:
        '200': {}
        '409':
          $ref: '#/components/responses/AccountPurgeFenced'
      security:
      - SessionAuth: []
      tags:
      - Auth
      summary: Post api auth change email
      x-summary-source: derived
components:
  schemas:
    AccountPurgeFencedError:
      type: object
      required:
      - error
      - code
      additionalProperties: false
      properties:
        error:
          type: string
          enum:
          - Account deletion is in progress
        code:
          type: string
          enum:
          - ACCOUNT_PURGE_FENCED
  responses:
    AccountPurgeFenced:
      description: The account deletion fence is active; no mutation was admitted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AccountPurgeFencedError'
  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.