AsyncAPI channel · Azure Web PubSub · Azure Web PubSub

/client/hubs/{hub}

WebSocket channel between a single client and a hub on the Web PubSub service instance. Each connection belongs to exactly one hub. Messages on this channel are JSON frames defined by the `json.webpubsub.azure.v1` or `json.reliable.webpubsub.azure.v1` subprotocol. Simple WebSocket clients (no subprotocol) exchange raw text/binary frames instead and are NOT modeled here — refer to the user event ha

Provider: Azure Web PubSub AsyncAPI: v2.6.0 Spec: Azure Web PubSub Operations: 2 Messages: 12

Channel address

/client/hubs/{hub}

Parameters

Operations

publish
clientSend
Messages a client sends to the service over the JSON pub/sub subprotocol.
clientReceive
Messages the service sends back to the client.

Messages

joinGroup
Client asks the service to add the connection to a group.
Content-Type: application/json
leaveGroup
Client asks the service to remove the connection from a group.
Content-Type: application/json
sendToGroup
Client publishes a message to all connections in a group.
Content-Type: application/json
event
Client sends a custom user event that the service forwards to the upstream event handler as a CloudEvents request with `ce-type: azure.webpubsub.user.`.
Content-Type: application/json
ping
Client liveness check.
Content-Type: application/json
sequenceAck
Acknowledgement of a `sequenceId` delivered on an inbound message. Required for the `json.reliable.webpubsub.azure.v1` subprotocol so the service can release in-flight messages.
Content-Type: application/json
ack
Service response to a client request that carried `ackId`. Clients should inspect `success` before reading `error`.
Content-Type: application/json
messageFromGroup
Data message delivered to the client because a publisher (REST API, server SDK, or another subprotocol client) sent it to a group the client has joined.
Content-Type: application/json
messageFromServer
Data message delivered to the client because the server (REST API or server SDK) targeted this connection, the user, or all connections.
Content-Type: application/json
systemConnected
Service notifies the client that the WebSocket handshake succeeded. Reliable subprotocol additionally carries `reconnectionToken` for use on session recovery.
Content-Type: application/json
systemDisconnected
Service notifies the client that the connection was closed by the server or declined by the service.
Content-Type: application/json
pong
Service response to a `ping` request.
Content-Type: application/json

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Agent Skill and MCP server surfaces of the same providers.

Work with this as data

Every channel 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 event channels

4 MCP tools reach this
  • find_channelsBrowse and filter every channel in the catalog.
  • 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 channel
curl "https://apis.io/api/v1/channels/client-hubs-hub"
All event channels
curl "https://apis.io/api/v1/channels?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.