Details
Description
Webhooks are becoming popular with interoperability between systems.I wonder if it would be possible to create a plugin for Blesta that implements webhooks which can be triggered by existing Events.
The plugin could define different URLs that an HTTP request (webhook) will be made to for various different Events.
The plugin could also potentially listen for HTTP requests and perform some action, though this may be more complex.
Do we have any example code for testing this? We should include working examples in the documentation to help people implement. How much data is sent with the events? Invoices.add should for example include all relevant information, not just the invoice ID.