What are webhooks and how do you use them to automate processes?
Webhook is a mechanism that allows applications to exchange data in real time via HTTPS requests. It works on a “callback” principle, where one application sends data to another when certain events occur. This allows the system to react instantly to changes without constantly polling the servers.
1. Incoming Webhooks:
Incoming webhooks allow external applications to send data to UnSpot. When an event occurs, UnSpot receives an HTTPS request with the data.
Example: Information about employee entry and exit through ACS can be displayed in UnSpot when confirming a booking.
2. Outgoing Webhooks:
Outgoing webhooks allow UnSpot to send data to other applications when events occur on the system.
Example: When a new parking space booking is created, the system sends data via HTTPS request to another server.