Webhooks are event-based HTTP notifications that automatically send data when triggered by our Connect APIs. Unlike traditional hotel APIs that waste time sifting through vast amounts of data, webhooks provide a direct path to the exact information you need.
Webhooks can be used to design highly targeted messaging based on triggering events informed by your guests’ preferences and activity. For example, if you have a guest that reserves a suite at your hotel, plays a round of golf, and enjoys a dinner at your lounge, webhooks could be used to send offers for future room upgrades, information on upcoming golf events, or loyalty benefits for free champagne with dinner.
Below, we set up a webhook and subscribed to a ‘create_reservation’ event. If a new reservation is made, we would send a notification that would look like this:
As an example, a Webhook that is set up and subscribed to a ‘create_reservation’ event. If a new reservation is made, we would send a notification that would look like this:
{ "created_at": "2018-10-15T19:11:40.622Z", "event": "create_reservation", "id": 2739, "data": { "arrival_date": "2018-10-15", "arrival_time": null, "confirmation_number": "108732", "departure_date": "2018-10-16", "departure_time": null, "hotel_id": 777, "id": 3157941, "object": "reservation", "status": "reserved" }, "object": "event" }
Name | Description | Type | Required |
created_at
|
The time the event was created. This is in UTC Format is 'YYYY-MM-DDTHH:MM:SS' |
datetime | Yes |
data
|
Object containing data associated with the event. *Please reference each data schema: Reservation, ReservationNotification,Inventory, Group. |
object:{Data Schema} | Yes |
event
|
Event name you subscribe. e.g.: create_reservation, checkin, update_inventory |
string | Yes |
id
|
Event identifier. The unique number for the transaction. |
integer | Yes |
object
|
Object name. Always 'event'. |
string | Yes |
Object | Description | Events |
Account |
An event for Company or Travel Agent |
|
EndOfDay |
An event for End of Day changes and notifications |
|
Group |
An event for Group |
|
Guest |
An event for Guest |
|
Inventory |
An event for Inventory changes (hotel and room type) |
|
Reservation |
An event for Reservation changes and notifications |
|
ReservationRevenue |
An event for Reservation Revenue changes and notifications |
|
RoomStatus |
An event for Housekeeping Room status changes |
|
RoomStatusService |
An event for the Room service status like an out of order or out of service in the calendar view |
|
See how StayNtouch’s Cloud PMS, Guest Mobility, and Guest Kiosk solutions deliver better results for hotels through better front & back of house communication, increased mobile touch-points, more revenue and operational efficiency, and unlimited interfaces.
Your demo will include how to:
Manage and Set Tasks Across Your Departments
Ensure Guest Satisfaction & Safety With Contactless Check-in Options
Automate Easy Upsells & Monetized Early/Late Checkouts
Set & Manage Rates/Availability
Integrate With Tools and Platforms Essential
to Your Hotel
And More!