These docs are for v2.0. Click to read the latest docs for v3.3.

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.

📘

Remember to replace THING_TOKEN with the thing token that you got when you activated your thing.

Language
Click Try It! to start a request and see the response here!