### GET /iot/ws/channels/{id}/messages/{subtopic} Source: https://connhex.com/api/core/latest/websocket/api.json Establishes WebSocket connection with the specified channel and subtopic. This endpoint is used to establish a connection that can be used to receive real-time messages from a specific subtopic within a channel. ```markdown ### Parameters - **id** (string (uuid), path, required): Unique channel identifier. - **subtopic** (string, path, required): Subtopic to subscribe to, can include multiple segments ### Responses #### 101 - WebSocket connection established successfully. WebSocket connection established successfully. #### 400 - Bad request due to empty channel ID, malformed subtopic, or malformed entity. Bad request due to empty channel ID, malformed subtopic, or malformed entity. #### 401 - Missing or invalid access token provided. Missing or invalid access token provided. #### 403 - Forbidden access to the requested channel. Forbidden access to the requested channel. #### 404 - The specified channel was not found. The specified channel was not found. ### Example Usage ```bash curl -X GET "wss://apis./iot/ws/channels/{id}/messages/{subtopic}" ``` ``` -------------------------------- ### Security: $ref Source: https://connhex.com/api/core/latest/websocket/api.json Security scheme: $ref ```markdown ## Security: $ref **Description:** Security scheme: $ref **Type:** unknown ``` -------------------------------- ### API Overview: Connhex WS Source: https://connhex.com/api/core/latest/websocket/api.json WebSocket API for receiving messages through communication channels. ```yaml # Connhex WS # Version: 1.5.0 WebSocket API for receiving messages through communication channels. # Base URL: wss://apis. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.