Get notifications sent to you when something changes
This capability allows you to create webhooks which will notify a given URL whenever an action happens in Peek Pro, e.g. Booking Update or Booking Cancellation.
We recommend for testing you can use ngrok to create an endpoint which connects to your localhost. You can then make test bookings with the same credentials and see the webhook requests arrive.
When an event is triggered the webhook will perform a POST HTTP request to the specified URL, the request body will look like this depending on the event type:
This endpoint will return a list of all existing webhooks.