WebHooks are a way for web apps to get notification when something changes in your remote device, rather than continually polling for that data and receiving nothing valuable most of the time. The concept of a WebHook is simple.
A WebHook is an HTTP POST that occurs when something happens:
To activate a WebHook you must specify the URI to call within the device settings.
HASH BASED MESSAGE AUTHENTICATION CODE
You can verify the authenticity of the request by looking at 2 additional headers:
This lets your app verify that the notification really came from Avior Cloud Server.
It's a good idea (but not required) that you check timestamp to verify that notification is recent and the validity of the signature before processing the notification.
See ENCRYPTION for details.
HMAC information on Wikipedia