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.
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:
...ReservationDocument, // Check ReservationDocument for sample data
"gatesPins": [ // Common area PINs. It's an empty array when there is no common area PINs.
"gateName": "TV Room",
To get a PIN your room should have a SmartLock or a SmartDisc.
You typically do not need this as Goki emails the PINs to the guests when they are checked in.