All guides
Smart locks
How to connect TTLock with HazCheckin: one temporary code per booking
Step-by-step guide to connecting your TTLock account with HazCheckin: assign your locks to each property and let every booking get a temporary code once registration is complete.
Updated on 2 October 2026

If your properties use keypad locks managed from the TTLock app, HazCheckin can create each booking’s code for you: valid only during the stay, and visible to the guest only once guest registration is complete.
What the integration does
- Creates one access per booking, using the property’s check-in and check-out dates and times.
- Delivers it at the right moment. The guest sees their access on the check-in page once every traveller has completed registration (and signed the contract, if you use one).
- Follows booking changes. If the dates change, the access is updated; if the booking is cancelled, it is removed; at checkout, it expires.
- Leaves other stays alone. Each booking has its own access: removing it does not affect other guests.
- Remote opening from your dashboard if the lock has it enabled and the gateway is connected.
Requirements
A HazCheckin account on the Pro or Enterprise plan and the organisation admin role: only an admin can connect accounts, assign doors and open remotely.
- A TTLock keypad lock that supports custom passcodes.
- A TTLock gateway connected to the lock: codes are created and deleted remotely through it.
- For remote opening, the “Remote unlock” option enabled in the TTLock app.
Step 1: connect your TTLock account
- In your HazCheckin dashboard, go to Integrations → Smart locks.
- On the TTLock card, enter the email or phone number and the password of your TTLock app account.
- Click Connect. The password is only used to obtain the access permission; it is not stored.
Credentials are stored encrypted and are only used to manage access for your bookings.
Step 2: find your devices
Click Find devices. Under “Devices and groups” you will see each door with what it supports — PIN, Link or Remote unlock — and whether it is online.
This list only confirms that HazCheckin can see your locks. The Unlock button sends a test opening (only use it if you know who is at the door); it does not assign anything. Doors are assigned in step 3, from each property’s page.
If a lock appears Offline, check that the gateway is powered on and close to the door.
Step 3: assign doors to each property
- In the menu, go to Properties, open the property and switch to the Locks tab.
- Under “Doors of this property”, turn on each door that belongs to that property and choose its Door type:
- Private: the door of the stay (the apartment or the room). Each booking only gets its own.
- Common: building entrance, garage or shared area. Every booking at the property gets it.
- Leave off any door guests should not open.
- Check the Time zone (for example
Europe/Madrid) and the Check-in time and Check-out time: they set how long the code is valid on the lock. - In Create the access (hours before) and Show to the guest (hours before), choose how early the code is created and when the guest sees it. Showing it earlier does not make it valid earlier.
- In Wait for the traveller registry, decide whether the code appears as soon as the guest completes check-in (Don’t wait) or once the traveller registry accepts the submission.
- Optionally add entry instructions in Spanish and English and click Save. Saving also reviews the bookings you already have, and those that qualify get their access.
For example, in an apartment with a street door: the flat’s door as Private and the street door as Common. In a hotel: each room’s door as Private and the entrance and garage as Common.
Step 4: assign each room’s door
In a hotel, guesthouse or country house with several private doors, HazCheckin needs to know which door belongs to each room. Otherwise you will see the “private doors and no room with a door” warning and bookings will only get the common doors.
- In the same property, go to the Rooms tab.
- Add each room with Add room (for example
101) if it does not exist yet. - In the Its door column, choose each room’s lock. A door can only belong to one room.
- If each room has its own calendar (Airbnb or Booking iCal), pick it under Bookings from: each booking then lands in its room and gets its door automatically.
- Click Save rooms.
Common doors are not assigned to any room: they open for every booking.
Step 5: check a booking
On each booking you will find the “Access to the accommodation” card with the “Doors for this reservation” list. By default it gets the common areas and its room’s door (or the property’s private door if there is only one). Use the switches to choose by hand, for example for a booking you created manually without a room, and click Save doors.
Below it you can see the state of each access (Creating, Ready, Revoked…) and the Withdraw access button. Once the guest completes online check-in, their page shows the code for each door, valid only during the stay.
The code is sent to the lock through the gateway; if the gateway is off, the access is retried later.
Frequently asked questions
When does the guest see their access?
Once every traveller on the booking has completed registration, and within the delivery window you configured. They also get an email with the link to their check-in page; the code is never sent by email.
What happens if the dates change or the booking is cancelled?
The access is updated with the new dates or removed from the lock. For bookings that arrive through a PMS or iCal, the change is applied within an hour.
Can I remove an access manually?
Yes, with Withdraw access on the booking. Other bookings are not affected.
What happens if I disconnect the account?
Active accesses are removed and, once the revocations finish, the credentials are deleted. Future bookings stop receiving access.
Can I use a TTLock developer account?
No. You connect with the same account you use to manage the locks in the TTLock app.
