Setting Up Webhooks
Adding Endpoints
In order to start listening to messages sent through SafetyKit, you will need to configure your endpoints in the SafetyKit Webhook portal.
Adding an endpoint is as simple as providing a URL that you control and a list of event types that you want to listen to.
When configuring your endpoint, make sure to take a look at the webhook events list to see the full descriptions of each event as well as all the fields they send.
If you don’t specify any event types, by default, your endpoint will receive all events, regardless of type. This can be helpful for getting started and for testing, but we recommend changing this to a subset later on to avoid receiving unexpected messages.