$disconnect
The $disconnect route is invoked after a client disconnects from the WebSocket API. This route is best-effort and may not be invoked in all cases (e.g., network interruptions). Use this route for cleanup operations such as removing connection records from a database.
Channel address
Operations
Messages
application/jsonAbout 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.