Details
Description
When a webhook is triggered, it sends the data to the endpoint, but if we have many events going to the same endpoint, we don't know what event it is for. The event name should be included in the webhook headers.
X-Blesta-Event: Clients.addNoteAfter
X-Webhook-Id: 1
User-Agent: Blesta-Webhook
X-Blesta-Event contains the event name.
X-Webhook-Id contains the ID of the webhook we created
User-Agent because why not, we should be able to tell