Thing Subscribe

With this method you can subscribe to the thing channel and get real-time updates from all the thing's keys (resources). The subscription endpoint creates a streaming channel and we keep the channel open depending on the keep alive that you send. If no keep alive is set, your router or our server will close the channel at its sole discretion.

You will need a compatible client. To subscribe from a browser we recommend to use Websocket. REST API subscription is not reliable on browsers.

To test the real-time updates from the command line, you will need to open two consoles. One for the subscription curl command, and another to do the curl write commands.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Query Params
int32
Defaults to 60000

Keep alive for keeping the channel open.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json