AsyncAPI channel · Amazon API Gateway
· Amazon API Gateway WebSocket API
$default
The $default route is invoked when no other route matches the incoming message. This serves as a fallback handler for messages that do not match any custom route selection expression. It is also used when the route selection expression evaluates to a value that does not match any defined route key.
Provider:Amazon API GatewayAsyncAPI: v3.0.0Spec: Amazon API Gateway WebSocket APIOperations: 1Messages: 1
Channel address
$default
Operations
receive
onDefaultMessage
Receives messages that do not match any custom route key. Useful as a catch-all handler or for APIs that use a single route for all messages.
Messages
DefaultMessage
A message received on the $default route when no custom route matches the incoming message content.
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.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.