KOOK 将Bot连接到 KOOK 服务器 API

使用Websocket或Webhook将Bot连接至服务器

Operations 2

GET /connect-websocket 使用Websocket进行连接 #
GET /connect-webhook 使用Webhook进行连接 #

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/kook:kook-bot-kook-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

kook-bot-kook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KOOK 机器人API v3 开发者版 将Bot连接到 KOOK 服务器 API
  version: 3.0.0
  termsOfService: https://developer.kookapp.cn/doc/privacy
  contact:
    email: service@kookapp.cn
  license:
    name: MIT
    url: https://github.com/kaiheila/api-docs/blob/main/LICENSE
  description:
    $ref: ./descriptions/_index.yaml#/intro
servers:
- url: https://www.kookapp.cn/api/v3
  description: 机器人接口
security: []
tags:
- name: 将Bot连接到 KOOK 服务器
  description: 使用Websocket或Webhook将Bot连接至服务器
paths:
  /connect-websocket:
    get:
      tags:
      - 将Bot连接到 KOOK 服务器
      summary: 使用Websocket进行连接
      description:
        $ref: ./descriptions/websocket.md
      responses:
        '200':
          description: 连接成功
      operationId: getConnectWebsocket
      x-operation-id-source: derived
  /connect-webhook:
    get:
      tags:
      - 将Bot连接到 KOOK 服务器
      summary: 使用Webhook进行连接
      description:
        $ref: ./descriptions/webhook.md
      responses:
        '200':
          description: 连接成功
      operationId: getConnectWebhook
      x-operation-id-source: derived