MinglesAI Chat API

The Chat API from MinglesAI — 10 operation(s) for chat.

GitHub OpenAPI

Operations 10

POST /v1/chat/completions Chat Completions #
GET /chat Chat Page #
POST /api/chat/session Create Session #
GET /api/chat/whoami Whoami #
POST /api/chat/message Post Message #
GET /api/chat/history/{session_id} History #
POST /api/chat/handoff Handoff #
POST /api/chat/contact Contact #
POST /api/chat/feedback Feedback #
POST /api/chat/escalation Submit Escalation #

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/mingles-ai:mingles-ai-chat-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

mingles-ai-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gonka Proxy Chat API
  description: OpenAI-compatible AI proxy with token-based billing
  version: 2.0.0
tags:
- name: Chat
paths:
  /v1/chat/completions:
    post:
      summary: Chat Completions
      description: Chat completions endpoint with token billing
      operationId: chat_completions_v1_chat_completions_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      tags:
      - Chat
  /chat:
    get:
      summary: Chat Page
      description: 'Full-page support chat (the website widget in page mode). `?session=`

        resumes a conversation handed off from the floating widget.'
      operationId: chat_page_chat_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Chat
  /api/chat/session:
    post:
      tags:
      - Chat
      summary: Create Session
      operationId: create_session_api_chat_session_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/whoami:
    get:
      tags:
      - Chat
      summary: Whoami
      description: 'Tell the widget who the server thinks it is (from cookie/bearer), so it can

        show a logged-in state without trusting client-injected identity.'
      operationId: whoami_api_chat_whoami_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/chat/message:
    post:
      tags:
      - Chat
      summary: Post Message
      operationId: post_message_api_chat_message_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MessageRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/history/{session_id}:
    get:
      tags:
      - Chat
      summary: History
      operationId: history_api_chat_history__session_id__get
      parameters:
      - name: session_id
        in: path
        required: true
        schema:
          type: string
          title: Session Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/handoff:
    post:
      tags:
      - Chat
      summary: Handoff
      operationId: handoff_api_chat_handoff_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoffRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/contact:
    post:
      tags:
      - Chat
      summary: Contact
      description: 'Capture the email an anonymous visitor leaves so we can email them when a

        human replies. Also links the session to an existing account if the email

        matches one.'
      operationId: contact_api_chat_contact_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/feedback:
    post:
      tags:
      - Chat
      summary: Feedback
      operationId: feedback_api_chat_feedback_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedbackRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/chat/escalation:
    post:
      tags:
      - Chat
      summary: Submit Escalation
      operationId: submit_escalation_api_chat_escalation_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EscalationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    FeedbackRequest:
      properties:
        session_id:
          type: string
          title: Session Id
        rating:
          type: string
          title: Rating
        message_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Message Id
        comment:
          anyOf:
          - type: string
          - type: 'null'
          title: Comment
      type: object
      required:
      - session_id
      - rating
      title: FeedbackRequest
    SessionRequest:
      properties:
        context:
          additionalProperties: true
          type: object
          title: Context
      type: object
      title: SessionRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    EscalationRequest:
      properties:
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        type:
          type: string
          title: Type
          default: support_escalation
        severity:
          type: string
          title: Severity
          default: high
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
        summary:
          type: string
          title: Summary
        recommended_action:
          anyOf:
          - type: string
          - type: 'null'
          title: Recommended Action
        user_id:
          anyOf:
          - type: string
          - type: 'null'
          title: User Id
        needs_reply:
          type: boolean
          title: Needs Reply
          default: true
        confidence:
          anyOf:
          - type: number
          - type: 'null'
          title: Confidence
        source:
          type: string
          title: Source
          default: website_chat
      type: object
      required:
      - summary
      title: EscalationRequest
    HandoffRequest:
      properties:
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        reason:
          anyOf:
          - type: string
          - type: 'null'
          title: Reason
        summary:
          anyOf:
          - type: string
          - type: 'null'
          title: Summary
      type: object
      title: HandoffRequest
    ContactRequest:
      properties:
        session_id:
          type: string
          title: Session Id
        email:
          type: string
          title: Email
      type: object
      required:
      - session_id
      - email
      title: ContactRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MessageRequest:
      properties:
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        message:
          type: string
          title: Message
        context:
          additionalProperties: true
          type: object
          title: Context
      type: object
      required:
      - message
      title: MessageRequest
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer