Guides

TTLock + Airbnb, Booking.com and Agoda: automatic door codes for every booking

By Ribat · Updated 7 Nov 2026 · 9 min read

To give each guest their own TTLock door code, you need software that reads your bookings and creates a passcode through the TTLock Open Platform. Airbnb’s built-in smart-lock feature only works in the US and Canada and does not list TTLock, so hosts elsewhere use a PMS to create a code per booking that expires at checkout.

Key takeaways

  • Airbnb’s native smart-lock integration only covers listings in the US and Canada, and only Schlage, August and Yale models. TTLock is not on the list.
  • TTLock has no direct Airbnb or Booking.com integration. A PMS or another bridge creates codes through the TTLock Open Platform API.
  • Airbnb’s iCal feed has no guest name or email, so an Airbnb code has to reach the guest through Airbnb messages. Booking.com and Agoda bookings arrive by API with an alias email you can send to.
  • TTLock period and permanent codes must be used once within 24 hours of their start time, or they stop working. Plan the start time around the real arrival.
  • A Wi-Fi gateway lets you add, change and delete codes remotely. Without one, offline codes still work, but deleting them needs a Bluetooth connection at the door.
Live channels and what syncs
ChannelStatusWhat syncs
Booking.com Live Availability, rates and reservations
Expedia Live Availability, rates and reservations
Agoda Live Availability, rates and reservations
Airbnb Live Availability

Why hosts outside the US can’t rely on Airbnb’s smart-lock feature

Airbnb added smart-lock management to the host app in 2024, but its own help page says the feature is “only available for listings located in the US and Canada”. It supports a short list of Wi-Fi locks from Schlage, August and Yale. TTLock, one of the most common lock platforms for apartments and hostels outside North America, is not on it.

The same help page notes that hosts who use property management software may be able to use that software’s lock integration instead. That is the route most operators in Europe, the Middle East, Asia and Latin America take.

How TTLock connects to booking platforms

TTLock does not plug into Airbnb, Booking.com or Agoda directly. Every working setup we found uses a third party, usually a PMS, that talks to the TTLock Open Platform, TTLock’s cloud API. The PMS sees a new booking, asks TTLock for a passcode valid for that stay, and makes sure the guest receives it.

TTLock passcode types you will meet in a PMS

TypeHow it is createdGood for
Period (timed)Generated by TTLock’s algorithm, no gateway neededA guest stay with a start and end time
One-timeAlgorithmic, valid once within 6 hours of its startA cleaner or contractor visit
PermanentAlgorithmic, no end dateOwners or staff, never guests
CustomAdded through a Wi-Fi gateway or the phone app over Bluetooth (V4 passcode locks)A code you choose, changed or removed remotely
CyclicAlgorithmic, repeats on set days or hoursRecurring staff access

Two rules from the TTLock API documentation matter for guests. Validity is set in whole hours, so a 15:00 check-in starts at 15:00, not 14:45. And period and permanent codes must be used at least once within 24 hours of their start time, or they become invalid.

Booking.com and Agoda: codes can go out automatically

When a channel manager connects to Booking.com or Agoda by API, each reservation arrives with booker details, including an alias email address that forwards to the guest. That is what lets a PMS email the door code without you copying anything.

Two settings decide whether the email arrives. Booking.com only forwards mail from sender addresses you have registered in the extranet under Security Settings, Email Address Settings, or when that list is empty. Agoda masks links in messages sent to its alias addresses, so send the code as plain text, not as a link.

Airbnb: the code is created, then you send it

Most PMS tools outside Airbnb’s preferred partners connect to Airbnb through iCal, a calendar feed. Since December 2019 each Airbnb iCal event contains the word “Reserved”, a reservation link and the last four digits of the guest’s phone number. It does not include the guest’s name or email.

So the software can still create a TTLock code for the exact Airbnb stay, but it cannot email the guest directly. The usual workflow is to copy the code into your Airbnb check-in message. Some tools use the last four digits of the guest’s phone as part of the code so the guest can recognise it.

Set it up in Ribat

  1. Connect your channels The table at the top of this guide shows each channel and what it syncs.
  2. Sign in to TTLock from Ribat Link your TTLock account and assign a lock to each room or unit.
  3. Bookings create codes Each booking gets its own passcode for its stay dates, and the code expires at checkout.
  4. Guests receive the code When a channel shares a guest email, the code goes out automatically. For Airbnb bookings, copy the code from Ribat into your Airbnb message.
  5. Watch the locks Ribat flags low-battery and offline locks before arrivals, and you can issue or revoke any code by hand.

Want codes sent by WhatsApp? Tell us in your demo and we’ll set it up with you.

Gateway or no gateway?

You can run TTLock codes without a Wi-Fi gateway. Period codes are generated by algorithm, so the lock accepts them without being online. What you lose is remote control: TTLock’s API removes codes “via WiFi gateway”, and without one, changing or deleting a code needs someone near the lock with Bluetooth.

For a cancelled booking that matters. A gateway lets you revoke the code from anywhere. Without one, the code simply runs until its end time.

To control locks remotely from Ribat, you need a TTLock lock and a G2 or other TTLock-approved gateway connected to the internet. You link your TTLock account, map each lock to its room, and control it from Ribat.

With that setup, after a code is generated for a booking, you can extend or shorten it, or change its check-in or check-out time, and the guest keeps the same code.

Checklist before your first automated stay

  • Set the code start time at the real check-in time. If a guest may arrive a day late, remember the 24-hour first-use rule.
  • Register your PMS sending address in the Booking.com extranet so code emails are delivered.
  • Send codes as plain text, since Agoda masks links and Booking.com strips unapproved ones.
  • Keep a physical spare key with someone on site for the rare dead-battery or hardware failure.
  • Change lock batteries on a schedule, and act on low-battery alerts before the next arrival.
  • Test one booking end to end: create it, check the code arrives, open the door, and confirm it stops working after checkout.

Frequently asked questions

Does TTLock work with Airbnb?

Not directly. Airbnb’s own smart-lock feature is limited to the US and Canada and does not list TTLock. Hosts connect TTLock through a PMS that creates a code for each Airbnb booking.

Can door codes be sent to Airbnb guests automatically?

Not from iCal alone, because Airbnb’s iCal feed has no guest email. The PMS creates the code, and you send it through Airbnb messages.

Do I need a TTLock gateway?

Not to issue codes, because period codes work offline. A gateway is what lets you add, change or delete codes remotely, which matters for cancellations.

Why did a guest’s code stop working before they arrived?

TTLock period codes must be used once within 24 hours of their start time. If the guest arrives later than that, the code is invalidated and a new one is needed.

Can Booking.com guests get the code by email?

Yes, through the booking’s alias email, as long as your sending address is registered in the Booking.com extranet or that list is empty.

See it on your own bookings

Set up in about 15 minutes, with free guided setup and a 14-day free trial. No setup fee and no Ribat booking commission.

14-day free trial About 15 min · 0% Ribat commission
Start free trial