Webhooks

Let Goki trigger your webhook on different events

You can register your webhooks on Goki and get updates on particular events. For now, each third-party app can register only one webhook which will be subscribed to all events automatically.

Your webhook’s method should be POST as we need to submit data to you.

Any response in the range of 2xx will be considered successful. Otherwise, we will trigger the webhook two more times with exponential backoff.

Available Events

1) reservationPinGenerated

Currently, the only available webhook event is reservationPinGenerated. Once you register for it, we will call your API whenever a pin is generated on the reservation with the below information:

{
event: ‘reservationPinGenerated’,
data: {
...ReservationDocument, // Check ReservationDocument for sample data
"pin": "2817628"
}
}

Data Structure

APIs