What is a webhook? #
Webhooks (together with QRmaint API) allow for the exchange of information between the QRmaint system and the API of external systems (e.g. client server application). Unlike the QRmaint API, where the client sends requests for access to information, QRmaint Webhooks provide reverse communication – they pass information about an event that occurred within the QRmaint client account to the external API. Webhooks are a natural complement to API, widely used in today’s IT systems.
The basic element of Webhooks is an event . Events can be subscribed to , i.e. listened for in anticipation of their occurrence. Subscribing to a selected event causes the QRmaint system, when it occurs, to send an HTTP request along with event data to the address defined by the client. The QRmaint system currently offers 3 types of events that the user can subscribe to:
- adding a new report
- adding a new task
- change of task status