Webhook
A webhook allows an external service to be notified when a specified event happens to a player.
Creating a webhook
Creating a webhook can be done in the developer settings of your account. When creating one, you have to specify the following:
- Payload URL: this is the URL where a GET request will be sent to.
You can optionally add GET parameters to it,
for example;?webhook=nmgames - Trigger events: the events, clearly describing themselves, that should trigger the webhook.
Triggering the webhook
Triggering the webhook can be done by simply performing an event where the webhook is made for. Doing so will send a regular GET request to the payload URL. An eventual response will be ignored.
