WuKongIM Docs

Product HTTP API

Reference all 42 business HTTP operations registered by the current source.

Product HTTP provides basic integration and trusted-management operations. The complete OpenAPI contract matches all 42 current internal/access/api registrations. Each operation page explains the type, requiredness, default, range, and runtime compatibility behavior of every query parameter and JSON field.

OpenAPI: complete contract · narrow profiles: basic integration · message sending · Channel and Conversation

Trusted backends only

Product HTTP has no general business authentication. Restrict network reachability and provide authentication, authorization, limits, and audit at an API Gateway, service mesh, or product backend.

Choose by task

TaskRecommended entryCompletion check
Issue a connection identity/user/token/route → SDK CONNECTAfter the token write, CONNACK still decides connection success
Send from a backend/message/sendInspect reason after HTTP 200
Recover after disconnect/channel/messagesync or its batch formAdvance by message_seq; inspect each batch-item error
Reconcile group membership/channel, subscriber add/removePersist the product desired version; verify and replay desired state after failure
Synchronize the Conversation directory/conversation/list/conversation/retryEcho the cursor until done=true

The complete contract is authoritative for all 42 runtime entries. The three narrow profiles are reviewed task projections with runnable examples. Generated pages merge those examples and expose caller, node scope, non-atomic writes, and post-200 business checks in an “Operation boundary” callout.

Channel observability boundary

StateProduct HTTP readback
AllowlistGET /channel/whitelist, a legacy unbounded full list
Ordinary subscribersNone
DenylistNone
Temporary subscribersNone

When Product HTTP has no symmetric readback, do not treat one 200 response as reconciliation proof. Keep the product database as the desired-state source and use the protected, bounded Manager query when strict verification is required.

What deprecated means

deprecated marks a compatibility entry that still exists but should not be the default for a new integration: replace /channel/info with /channel, list set with remove-all plus bounded add, and /conversation/sync with /conversation/list plus /conversation/retry. Batch routing, online status, Channel disband/removal, full allowlist read, and command-message sync/bind compatibility entries currently have no one-to-one replacement in Product HTTP; use them only after reading their operation boundaries. Node-local system-UID cache routes are for directed operations and cannot replace durable mutations.

API directory

Basic integration contract

JavaScript Web golden-path contractNon-exhaustive Beta subset
  • POST /user/token
  • GET /route
  • POST /channel/messagesync

These calls belong only in the trusted localhost BFF; the browser must not call the Product HTTP API directly.

Download the OpenAPI 3.1 subset

The snapshot above proves only the example scope of the three golden-path operations; it is not end-to-end acceptance for the complete contract. Realtime client send and receive still use the SDK and Gateway.

On this page