Applies to:
Stayntouch PMS
![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/6004795197/original/blob1441750610922.png?1441750611)
hotelOS
hotelOS helps hotels optimize energy consumption by efficiently controlling lighting, air-conditioning, and heating. hotelOS uses an algorithm that controls the usage based on the occupancy of the room.
hotelOS will need to know the rooms occupied/vacant for checked-in rooms, due-in rooms, checked-out rooms, and departures.
WEBHOOK USAGE
The hotelOS production webhook URL is https://us-west-2.api.hotelos.co/integrations/stayntouch/{hotel}. The hotelOS team needs to ensure the correct webhook listener URL is set up in Stayntouch PMS under Settings > Chain > Webhooks.
- New Reservation
- Edit Reservation
- Cancel Reservation
- No Show Reservation
- Check-Out
- Room Move
- Reverse Check-Out
- Reinstate Reservation
- Reverse Check-In
- Check-In Available
- Check-In Success
- Check-In Failed
- Pre-Check-In Available
- Pre-Check-In Success
- Pre-Check-In Failure
- Rooms Assigned
- Rooms Status
- Room Status Service
API USAGE
- GET reservations/{id} – Following a webhook event
- Get reservations/due_in – With parameter hotel_id and reservation_id
- Get reservations/ checked_in – With parameter hotel_id and reservation_id
- Get room_type/{id}/available_rooms
- Get room_type/{id}
- Get rooms/{id}
Stayntouch Implementations/CSM will generate API OAuth keys to hotelOS:
- client_id
- client_secret
- hotel_id