...
Create an Event Forwarder rule in the Avigilon Alta Control Center with
https://api.mycompany.com/openpath-receiver
as the target URLTo learn how to create rules, refer to How do I use the Rules Engine?
Avigilon Alta’s cloud sends the app an HTTP request at https://api.mycompany.com like this:
Code Block POST /openpath-receiver HTTP/1.1 Host: api.mycompany.com X-Hook-Secret: someLongRandomString12345 [other standard http headers, not relevant here][no request body]
The receiver app’s API must respond to that request with a 200 response code and the same X-Hook-Secret:
Code Block HTTP/1.1 200 OK X-Hook-Secret: someLongRandomString12345 [other standard http headers, not relevant here][no response body]
Avigilon Alta finishes saving the rule and considers it now validated and active
For more information on X-Hook-Secrets and the Immediate Confirmation model, refer to REST Hooks documentation.