The documentation covers the Sinric Pro WebSocket messaging protocol. All messages sent over the WebSocket protocol is in JSON format and they are signed using HMAC key to guarante the authenticity of the request. Sample message definitions are available here
We recommend using one of the SDKs we have built since they properly handle authentication, connection, reconnection and many more feature for messaging layer. We have libraries written for Arduino, ESP8266, ESP32, RaspberryPI, and PC
replyToken in the request is being used to identify the message. It must be used when you create a “response” type message
createdAt timestamp is the Unix time in seconds
If you are using the SDK, the responses will be handled by the SDK internally
Upon receiving this message in the server, the server will update the interested parties about the status of the request .
Let’s imagine you want to turn on the device by pushing a button or change the brightness level using a nob. Now you are interacting with the device physically and making changes to it. To notify the server about the changes you make, you can send an event message to the server. Eg: Amazon Alexa cloud
This document is open source. See a typo? Please create an issue