High level diagram
The diagram shows a high level diagram of how webhook works.Setup webhook
1
Visit Developer Hub
Go to Magic Hour Developer Hub, and click 
Create Webhook

2
Configure webhook
On the modal, input
- Your API endpoint to receive events
-
Select the events you’re interested in receiving.
Create Webhook
3
Save webhook secret
Copy and save the webhook secret.

This secret can be retrieved later.