AsyncAPI channel · Amazon API Gateway · Amazon API Gateway WebSocket API Protocol

$disconnect

Platform-reserved route invoked on connection teardown (client close, server-side `DELETE @connections/{id}`, idle timeout at 10 minutes, or the 2-hour max connection lifetime). Best-effort delivery - integrations MUST treat it as an at-most-once notification.

Provider: Amazon API Gateway AsyncAPI: v2.6.0 Spec: Amazon API Gateway WebSocket API Protocol Operations: 1 Messages: 1

Channel address

$disconnect

Operations

onDisconnect
API Gateway delivers a `$disconnect` lifecycle event to the integration.

Messages

DisconnectEvent
$disconnect lifecycle event
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 Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.