WuKongIM Docs

OpenAPI Contracts

Download the complete HTTP contracts or a narrower adoption profile.

Every file uses OpenAPI 3.1. Complete contracts describe the current source surface. Narrow profiles are bounded adoption subsets of the same snapshot, not the complete API.

Complete contracts

ContractScopeTrust boundaryDownload
Product HTTP41 current business HTTP operationsNo built-in business authentication; trusted backends onlyJSON
Operations HTTP/healthz, /readyz, /metrics, /top/v1/snapshotNo built-in authentication; operations network onlyJSON
Webhooksmsg.notify, msg.offline, user.onlinestatusOutbound POST JSON; unsigned and best effortJSON

The Webhook contract uses the OpenAPI webhooks object; it does not fake callbacks as inbound server paths. Prometheus /metrics remains exposition format rather than an ordinary JSON resource.

Narrow profiles

ProfileOperationsUseDownload
JavaScript Web quickstart3Controlled Token, Route, and reconnect-sync exampleJSON
Message sending1Ordinary persistent POST /message/sendJSON
Channel & Conversation16Reviewed 10-Channel and 6-Conversation subsetJSON

A profile's end-to-end verification status does not extend to complete Product HTTP. Before generating an SDK, pin the contract file, server revision, and outer authentication policy; rerun contract and business acceptance after upgrades.

On this page