Skip to main content

Establishes WebSocket connection with channel and subtopic

GET 

wss://apis.<domain>/iot/ws/channels/:id/messages/:subtopic

Authorization: http

name: thingAuthtype: httpscheme: bearerbearerFormat: uuiddescription: * Things access: "Authorization: Thing <thing_key>"

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.

Request

Path Parameters

    id uuidrequired

    Unique channel identifier.

    subtopic stringrequired

    Subtopic to subscribe to, can include multiple segments

Responses

WebSocket connection established successfully.

curl -L -X GET 'wss://apis.<domain>/iot/ws/channels/:id/messages/:subtopic' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Base URL
wss://apis.<domain>
Auth
Parameters
— pathrequired
— pathrequired