LINE Integration Help

  • Prerequisites: A LINE account that can create a LINE Official Account, facility owner permission or above, and at least one check-in configuration or reservation configuration
  • Time: About 30–45 min (when you create the Official Account and the LINE Login channel from scratch; about 15 min if you already have both)
  • Next: LINE Notifications

Overview

LINE Integration connects your facility's LINE Official Account to UnlockOS. Once connected, guests can perform check-in, check-out, reservations, and other operations directly through LINE.

To open the screen, select "App Integration" in the side menu, then the "LINE" tab. Only accounts with facility owner permission or above can save the settings.

Setup flow

You move between two LINE screens (LINE Official Account Manager and LINE Developers Console) and UnlockOS. Work through them from top to bottom.

RequiredLINE Official Account Manager
Create the Official AccountEnable the Messaging API
RequiredLINE Developers Console (Messaging API channel)
Note the Channel ID and Channel secretIssue a long-lived channel access token
RequiredLINE Developers Console (LINE Login channel)
Create a channel under the same providerNote the Channel ID and Channel secretSwitch it to Published
RequiredUnlockOS (LINE tab in App Integration)
Paste the 5 values in Step 3Test connectionPick a check-in or reservation configuration in Step 4Connect and set up automaticallyRich menu, webhook URL and LIFF are created
RequiredLINE Developers Console (after connecting)
Turn Use webhook ONWebhook URL shows Configured
OptionalUnlockOS (after connecting)
Pick up to 3 features in Rich menu display settingsSave and regenerate rich menu
OptionalUnlockOS (after connecting)
Admin LINE user ID, language and auto repliesSave notification settings

Key Features

  • 4-step guided setup wizard for LINE Official Account connection
  • Automatic rich menu generation and configuration
  • Automatic webhook URL setup
  • Choose between check-in, reservation, or both services
  • Receiving notifications on the admin's LINE (used together with Notification Workflows; for what arrives where on LINE, see LINE Notifications)

Prerequisites

The following are required before setting up LINE integration.

Required Description
LINE Official Account Create one via LINE Official Account Manager
Messaging API Enable Messaging API on your LINE Official Account
Channel ID Found in LINE Developers Console
Channel Secret Found in LINE Developers Console
Channel Access Token Issue from LINE Developers Console

Setup Wizard

When LINE is not yet connected, a 4-step wizard is displayed.

Step 1: Create a LINE Official Account

If you already have a LINE Official Account, select "Yes, I have one" and proceed to Step 2.

If you don't have one, select "No, create one" and follow these steps:

  1. Click the "Open LINE Official Account Manager" button
  2. Select "Create Account" and choose the free plan
  3. Enter your facility name as the account name
  4. After creating the account, click "Created it → Next" to continue

Step 2: Enable Messaging API

  1. In LINE Official Account Manager, go to "Settings" → "Messaging API"
  2. Click "Enable Messaging API"
  3. Select a provider and agree to the terms
  4. Once enabled, click "Enabled it → Next" to continue

Once it is enabled, the "Messaging API" page in Official Account Manager shows the Channel ID and Channel secret.

"Settings" → "Messaging API" in LINE Official Account Manager, with the status "Enabled"

Step 3: Copy & Paste Channel Information

  1. Click "Open LINE Developers Console"
  2. On the target channel's "Basic settings" tab, find the Channel ID and Channel Secret
  3. On the "Messaging API" tab, issue a Channel Access Token (click "Issue")
  4. Copy each value and paste it into the corresponding field below

The Messaging API channel's "Basic settings" tab, with the Channel ID row

Scroll further down the same "Basic settings" tab to find the Channel secret.

The Channel secret row near the bottom of "Basic settings"

The channel access token is at the bottom of the "Messaging API" tab. The button reads "Issue" if no token exists yet and "Reissue" if one does (reissuing stops the old token at once).

"Channel access token (long-lived)" at the bottom of the "Messaging API" tab

Input Field Where to Find
Channel ID Basic settings tab
Channel Secret Basic settings tab
Channel Access Token Messaging API tab (must issue first)

Note: A channel access token cannot be issued in LINE Official Account Manager (manager.line.biz). It also has a "Messaging API" page, but that page shows only the Channel ID and Channel Secret. Issue the token in LINE Developers Console (developers.line.biz).

If LINE Developers Console shows no "Issue" button, or the channel does not appear in the list, the LINE account you are signed in with has no role on that provider. Ask the provider's admin to grant you the Admin role under the provider's "Roles" settings.

To verify the credentials, click the "Test connection" button. It checks not only the token but also that the Channel ID and Channel Secret belong together, by asking LINE. When everything matches, the LINE bot name appears and the test succeeds. When something does not, the wrong field is marked and the reason is shown (for example "The Channel secret does not match this Channel ID.").

LINE Login Channel ID / Secret (per-facility LIFF app)

The UnlockOS Step 3 form has two more fields below the Channel ID and the others: "LINE Login Channel ID" and "Login Channel Secret". These provision a LIFF app (the mini-app guests open from LINE) dedicated to this facility.

On a new setup you need both. LINE no longer permits adding a LIFF app to a Messaging API channel, so a setup created today has nowhere to put one without a Login channel. Only facilities connected before that change can leave them blank.

These two values come from a separate "LINE Login" channel, not from the Messaging API channel. If you have not created one yet:

  1. Open LINE Developers Console and select the same provider as your Messaging API channel (the one created in Step 2)
  2. Click "Create a new channel" and choose "LINE Login"
  3. Fill in the form and create the channel
    • Channel name: e.g. the facility name (guests see it when they sign in)
    • Channel description: anything
    • App types: check Web app
    • Email address: a contact address
  4. On the new LINE Login channel's "Basic settings" tab, copy the Channel ID and Channel secret
  5. Paste them into UnlockOS as "LINE Login Channel ID" and "Login Channel Secret"
  6. If the status at the top of the LINE Login channel says "Developing", switch it to "Published"

Step 1: open the same provider as the Messaging API channel. The LINE Login channel you create appears here too.

The provider's channel list, with the Messaging API channel and the LINE Login channel under the same provider

Step 2: choose "LINE Login" as the channel type.

"Create a new channel" asking for the channel type; choose LINE Login

Step 3: fill in the four fields outlined in red and create the channel.

The LINE Login channel form: Channel name, Channel description, App types and Email address

Steps 4 and 6: the new channel's "Basic settings" tab. "Published" under the channel name means it is published.

The LINE Login channel's "Basic settings" tab, with "Published" under the channel name and the Channel ID below

The Channel secret is further down the same tab.

The LINE Login channel's Channel secret row

Important: While the channel is "Developing", only its admins and testers can open the LIFF app. It works on your own phone but not for guests. Always publish it.

UnlockOS field Where it comes from
Channel ID / Channel Secret / Channel Access Token The Messaging API channel (table above)
LINE Login Channel ID / Login Channel Secret The LINE Login channel's "Basic settings" tab
Field Purpose
LINE Login Channel ID The Login channel your LIFF app lives on. It's the same digits as the part of the LIFF ID before the "-". Must belong to the same provider as the Messaging API channel. Blank falls back to the Channel ID (the Messaging API channel), which only works for a grandfathered setup
Login Channel Secret Lets UnlockOS automatically create this facility's own LIFF app during provisioning — no need to configure LIFF manually in LINE Developers Console. Not shown again after it is saved

Step 3 has no LIFF ID field. The LIFF ID is saved automatically when you connect with a Login Channel Secret. Only if you created the LIFF app yourself, paste its ID into "LIFF ID (optional)" under "Channel credentials" after connecting (see "If automatic creation does not work (manual registration)" below).

Leaving them blank does not fail loudly. Provisioning still reports success, but no facility-specific LIFF app is created and the facility falls back to the platform's shared LIFF app — so every rich menu item opens an ordinary web page, guests leave the LINE app, and they are not signed in automatically. In that case, register the LIFF app yourself using "If automatic creation does not work (manual registration)" below.

Creating the LIFF app (automatic by default)

Normally there is nothing to do. When you connect with a Login Channel ID and Login Channel Secret, UnlockOS creates the LIFF app, sets its endpoint URL and saves the LIFF ID for you. You do not need to create a LIFF app in LINE Developers Console.

After connecting, you are done once "LIFF Deep Links" shows "Configured" under "Connected State". If it stays "Not configured", use the manual registration below.

If automatic creation does not work (manual registration)

Create the LIFF app yourself and register its LIFF ID in UnlockOS.

1. Create the LIFF app in LINE Developers Console

On the LINE Login channel (not the Messaging API channel), open the "LIFF" tab, click "Add" and use these values.

LINE Developers Console field Value
LIFF app name Anything (e.g. UnlockOS)
Size Full
Endpoint URL https://line.unlockos.io/{facility slug} (e.g. for the slug hotel-sunrise: https://line.unlockos.io/hotel-sunrise)
Scopes openid, profile
Other fields Leave the defaults
  • Find the facility slug under "App URL (Facility Slug)" in Base Settings. Do not append anything after the slug (such as /checkin)
  • The Callback URL on the "LINE Login" tab is not used by LIFF, so it can stay empty

2. Copy the LIFF ID

The LINE Login channel's "LIFF" tab; the LIFF ID is in the list

The new app shows a LIFF ID (e.g. 2011727947-AbCdEfGh). Check that the digits before the "-" are the same as the LINE Login Channel ID you entered in UnlockOS. If they differ, you created the app on a different channel.

3. Save the LIFF ID in UnlockOS

In "Channel credentials" on the LINE connection screen, paste it into "LIFF ID (optional)" and click "Save credentials". The save succeeded once "Credentials updated" appears.

  • Channel Secret / Channel Access Token / Login Channel Secret can stay blank (blank keeps the stored value)
  • Do not clear Channel ID / LINE Login Channel ID. They show the stored values; saving them blank deletes them

4. Regenerate the rich menu

Click "Save and regenerate rich menu" under "Rich menu display settings". Saving credentials alone does not change the rich menu. Always do step 3 before step 4 — regenerating first reloads the screen before the LIFF ID is saved, and the field goes back to blank.

5. Check

Confirm "LIFF Deep Links" shows "Configured", then tap a rich menu button in LINE on your phone and check that the screen opens inside the LINE app.

If you registered manually: when you change the facility slug, also update the LIFF app's endpoint URL in LINE Developers Console to the new slug. Otherwise the LIFF app keeps opening the old slug's URL.

Important: the Login channel must sit under the same provider as the Messaging API channel. If it does not, guests appear to log in successfully but no message ever reaches them, because LINE user IDs are issued per provider.

Step 3 in UnlockOS: the top three fields come from the Messaging API channel, the bottom two from the LINE Login channel

Once all fields are filled in, click "Next →" to proceed to Step 4.

Step 4: Service Selection

Select which services this LINE Official Account will provide. At least one selection is required.

Setting Description
Check-in configuration Select an existing check-in configuration from the dropdown. It is the configuration the rich menu's "Check-in" cell opens.
Reservation configuration Select an existing reservation configuration from the dropdown. It is the configuration the rich menu's "Book" cell opens.

You can select either check-in, reservation, or both. Selecting "None" leaves that configuration unset.

Step 4 in UnlockOS: choose the check-in and reservation configurations, then click "Connect and set up automatically →"

Features on the rich menu

Which features go on the rich menu is detected automatically from everything the facility has set up (check-in configurations, reservation configurations, membership plans, ticket books, lockers and so on) — not from what you pick in Step 4. The check-in and reservation configurations you pick in Step 4 decide which configuration each cell opens.

To choose the features yourself, use "Rich menu display settings", which appears after connecting. The preview is there too (see "Connected State" below).

Rich Menu Layout

The rich menu is always full size (two rows).

  • Top row: the feature cells (1 to 3). One cell spans the full width, two share it in halves, three in thirds
  • Bottom row: the three fixed cells ("Show Key", "Contact" and "Info")

There are no blank cells. Whatever the number of feature cells, the three fixed cells keep the same position and size.

The rich menu colours are those of the brand chosen on the "LINE rich menu" row of the App Brands screen. With no brand chosen, it uses the UnlockOS colours (see App Brands).

Review your settings and click "Connect and set up automatically →" to complete the process. Once connected, the rich menu and the webhook URL are configured automatically.

⚠️ After connecting, check that "Use webhook" is ON in the LINE Developers Console. UnlockOS sets the webhook URL; the toggle that actually enables it belongs to LINE. While it is off, nothing reaches UnlockOS from LINE. It is under "Webhook settings" on the "Messaging API" tab.

"Use webhook" under "Webhook settings" on the Messaging API channel's "Messaging API" tab; turn it on

Entering the webhook URL by hand

If the "Webhook URL" field in the same "Webhook settings" section is empty or holds a different URL, enter it yourself:

  1. Select "Edit" next to "Webhook URL", enter the URL below, then select "Update"
    https://api.unlockos.io/functions/v1/line-webhook
    
  2. Select "Verify" and check that it reports "Success"
  3. Turn "Use webhook" ON

Connected State

After LINE integration is complete, the following information and settings are displayed.

The connected screen, with all three items under "Automatic setup status" showing "Configured"

Automatic setup status

Item Description
Rich Menu Status of the menu displayed on guests' LINE screens
Webhook URL The result of asking LINE (see the table below)
LIFF Deep Links Whether the LIFF app's deep links are configured. If provisioning shows "Complete" but this item is not configured, every rich menu button opens as a plain web page instead of the LIFF app

The Webhook URL row asks LINE whether it is currently delivering to UnlockOS, and shows one of four states.

Shown Meaning What to do
Configured LINE is delivering to UnlockOS Nothing
Not configured UnlockOS has no webhook URL on record Click "Save and regenerate rich menu"
Not delivering The webhook URL at LINE is empty or a different URL, or "Use webhook" is OFF Turn "Use webhook" ON in LINE Developers Console. If the URL is wrong, regenerate, or enter it again as in "Entering the webhook URL by hand" above
Not verified Asking LINE failed, so the state could not be checked (this does not mean it is off) Check that the channel access token is valid, then reload the page a little later

When LINE cannot be reached, the row shows the result of the last successful check together with when it was checked. The current state may differ.

If "LIFF Deep Links" shows as not configured, a yellow warning message appears. First check that the Login Channel ID / Secret are filled in and that the LINE Login channel is "Published", then click "Save and regenerate rich menu". If it still shows not configured, register the LIFF app using "If automatic creation does not work (manual registration)" in Step 3.

Rich Menu Display Settings

Once connected, a "Rich menu display settings" section appears, letting you choose exactly which features appear on the rich menu.

  • Selectable features: Check-in, Reservation, Membership, Ticket Books, Locker, Resident Portal (only features enabled for the facility are shown)
  • You can select up to 3, via checkboxes. Features that need a specific configuration (check-in, reservation) also have a dropdown to pick which one
  • A live preview based on the real cell layout is shown, updating as you change your selection
  • If nothing is selected, the features are detected automatically from everything the facility has set up (see "Features on the rich menu" above)
  • Regardless of your selection, the three fixed cells on the bottom row — "Show Key", "Contact" and "Info" — are always shown
  • You can re-pick the check-in or reservation configuration for each item here, without disconnecting
  • Feature cells use the app names you set in Terms ("App switcher names"), in the message language. The preview shows those names too
  • Click "Save and regenerate rich menu" after making changes

Check in from the LINE chat (one-tap check-in)

Once a check-in setting is picked for "Check-in", "Check in from the LINE chat" appears under it. Turn it on and save, and a guest who taps "Check-in" in the menu is checked in without opening the check-in page; the entry key arrives in the chat. It is meant for handing out a key for free.

It only works with a check-in setting that asks the guest nothing. A setting with any of the following shows the reason when you save, and cannot be turned on:

  • It takes payment (payment timing other than "none")
  • It asks the guest to fill in a form at check-in
  • The guest chooses a plan (a setting with only a plan group)
  • Reservations only, staying guests only, members-only, member-tier-only, or a "once per account" plan
  • A flat-duration or accommodation plan

A guest linked to a member account is checked in as that member (the member's visit limits and access hours apply as usual).

If the check-in is refused (full, outside business hours, …), the reason arrives in the chat as text. If the check-in setting is changed afterwards so that it no longer qualifies, the guest is told that check-in from the chat is not available right now. In neither case is a button to the check-in page sent. A guest who taps again during their stay gets their current entry key (no second stay is created).

Fixed Cells (Show Key / Contact / Info)

Every rich menu always has these three fixed cells on its bottom row, which cannot be turned off from the facility side.

Cell What happens on tap
Show Key Does not open the LIFF app — replies in the chat with the entry key card. A guest who has not checked in yet gets their reservation details instead (see "Key Display" below)
Contact Does not open the LIFF app — opens the LINE chat's text input directly and sends one automatic reply (you can change its text under "Auto reply text" below). Whatever the guest types goes straight into the chat with the facility's LINE Official Account (UnlockOS does not forward or store it)
Info Does not open the LIFF app — replies in the chat with a card showing the facility's name, address, phone number, and contact email, sourced from Base Settings

Notification Settings

Administrator's LINE user ID

Workflows on the Notification Workflows page whose recipient is "Facility manager" and whose channel is "LINE" are delivered to the LINE account registered here. They arrive in the chat with the facility's LINE Official Account (the same chat guests receive messages in).

Which notifications are sent (check-in, check-out, payment failure, new reservation, and so on) is decided on the Notification Workflows page. This screen only decides where the LINE ones go.

The ID is the letter U followed by 32 characters, for example U1234567890abcdef1234567890abcdef. To find it:

  1. Sign in to the LINE Developers Console with the administrator's own LINE account
  2. Open this facility's Messaging API channel and copy "Your user ID" at the bottom of "Basic settings"
  3. Have the administrator add the facility's LINE Official Account as a friend (messages cannot reach someone who is not a friend)

Note: The U… in the LINE Official Account Manager chat URL (chat.line.biz/.../chat/U…) has the same shape but is a different number. Notifications will not arrive if you enter it.

An incorrectly formatted ID is rejected when you save. You can leave the field empty, but then owner workflows set to LINE fail, and the notification history shows "Admin LINE user ID not set".

Message language

Sets the language of the messages guests receive and of the rich menu image. Changing it takes effect for messages sent afterwards; the rich menu image updates the next time the menu is regenerated.

Auto reply text

You can rewrite these two automatic replies.

Field When it is sent Sent when the field is empty
Greeting when a guest adds you as a friend A guest adds your official account as a friend "Thanks for adding us! 🎉 You can check in and make bookings right here. Use the menu below to get started."
Reply to "Contact Us" A guest taps "Contact" in the rich menu "Please type your enquiry in this chat."
  • Leave a field empty to send the default above (shown faintly in the box). Clear your text and save to go back to the default
  • Your text is sent as written, whatever the message language above (only the defaults follow the language)
  • Line breaks are kept. Each field holds up to 1,000 characters
  • If the greeting message in LINE Official Account Manager is also on, guests receive two messages when they add you. Turn it off there if you use this field
  • The reply to the "Contact" cell cannot be replaced by an auto-response in LINE Official Account Manager: the button sends no text into the chat, so keyword responses never fire

After changing settings, click "Save notification settings".

Channel credentials

You can update the stored credentials here without disconnecting — use this when you reissue a Channel Access Token, need to correct a value, or want to add the LINE Login Channel ID to a facility that was connected before that field existed.

Field Behaviour
Channel ID Pre-filled with the stored value
LINE Login Channel ID Pre-filled. Clearing it falls verification back to the Channel ID
Channel Secret Blank means "keep the current value"
Channel Access Token Blank means "keep the current value"
Login Channel Secret Blank means "keep the current value"
LIFF ID (optional) Pre-filled with the stored value. Saving it blank clears it

The three secret fields always appear empty, because UnlockOS never returns stored secrets — not even to this screen. Type a value only when you intend to replace it; leaving a field blank never clears it.

Channel ID, LINE Login Channel ID and LIFF ID, on the other hand, show the stored values, and saving one of them blank clears it.

"Save credentials" does not rebuild the rich menu. After changing the LIFF ID or the Login Channel ID, also click "Save and regenerate rich menu" under "Rich menu display settings".

Reissuing a token invalidates the old one immediately. In the LINE Developers console the button reads Reissue once a token exists, and messages stop working the moment you click it. Paste the new value here and save to restore service — you no longer need to disconnect and reconnect, which would also delete your rich menu.

After changing credentials, regenerate the menu from Rich menu display settings so it is published to the updated channel.

Friend Add QR Code

To get the QR code for guests to add your LINE Official Account as a friend, go to "Gain friends" in LINE Official Account Manager.

Disconnect

Clicking the "Disconnect" button will remove the LINE integration, rich menu, and webhook settings. You will need to go through the setup wizard again to reconnect.


Guest LIFF App Flow

Once LINE integration is complete, guests tap buttons in the rich menu to interact with the facility. Some buttons launch the LIFF app (LINE in-app browser), while others respond directly within the LINE chat. The following flows describe what guests experience.

Guests Opening from LINE and Member Accounts (Linking for Members)

A guest who opens the LIFF app from LINE is signed in with their LINE account. That is a separate account from the one they registered with by email, so members are at first treated as non-members (membership plans and member prices do not apply).

Members verify their email address once, and from then on they are treated as members whenever they open the app from LINE.

  1. Tap Verify email and link on the Members card shown at the top of the LIFF app (booking, member and check-in screens)
  2. Enter the email address they registered with and tap Send code
  3. Enter the 6-digit code from the email and tap Link

The app switches to the member account immediately, and from then on opening it from LINE signs them in as a member. A notice that the account was linked to LINE is sent to that email address under the facility's name. The guest can remove the link at any time from My Page in the member app.

  • A link applies to the combination of the facility's organization and the LINE Login channel that issued the LIFF app. At a facility in another organization the guest starts unlinked
  • The Members card appears only when the facility has an active membership plan (not at facilities without one). Guests can close it with the × in its top-right corner, which hides it for that facility on that device. It still appears on My Page in the member app, so they can link from there later
  • Staff, owner and administrator accounts cannot be linked (LINE alone would then sign someone in to an account with admin-screen access). If a linked account later becomes staff, opening from LINE falls back to the unlinked state
  • Email addresses on the blacklist cannot be linked
  • A linked member who has opened from this facility's LINE at least once gets the entry key card, the checkout receipt and the reservation confirmation in their LINE chat (also when they check in from a browser). At a facility they have never opened from LINE, these arrive by email
  • Notification workflow notices (such as entry instructions) go to the member account's email address

Check-in Flow

  1. Tap "Check-in" in the rich menu
  2. A fee breakdown is displayed (contents vary by plan)
  3. Tap "Check In" to confirm
  4. After processing, a digital key (QR code or PIN code) is displayed

With one-tap check-in on, step 1 completes the check-in and the entry key arrives in the chat.

Key Display

After check-in, or by tapping "Show Key" in the rich menu, the entry key is sent directly as a LINE message — no app launch required. The key information appears as a rich card in the LINE chat.

The card includes:

  • QR code image (scan at the door reader)
  • PIN code, if applicable (enter on the keypad next to the door)
  • Room / unit name
  • Check-in date and time
  • Key validity period

If the guest has multiple active check-ins at the same facility, all keys are shown one after another as a carousel of cards.

Key Type How to Use
QR Code Hold your smartphone screen up to the reader next to the door
PIN Code Enter the code on the keypad next to the door

The key is valid only during the active stay. It becomes invalid after check-out.

If the guest has not checked in yet, the reply describes their reservation instead of showing a key — the key is handed over once check-in is done.

Guest state What "Show Key" replies with
Checked in The key card (above)
Has a reservation, and check-in is open The reservation details and a "Check in & get key" button, which opens check-in for that reservation
Has a reservation, but check-in has not opened The reservation details and the time check-in becomes available
Neither a reservation nor a stay "You have no active stay right now."

Check-in opens 24 hours before the reservation starts by default, and closes when the reservation ends.

Keys and reservation details are never shown in a group chat. They must not be visible to anyone but the guest, so they appear only in a 1-on-1 chat with the facility's LINE account. Tapping "Show Key" in a group or multi-person chat replies with a note asking the guest to open the direct chat instead. Facility information and the contact prompt still work in groups.

Check-out Flow

Check-out starts from the key card that "Show Key" sends. There is no dedicated rich menu cell for it.

  1. Tap "Check out" at the bottom of the key card that "Show Key" sends
  2. Check-in time and fee breakdown are displayed
  3. Tap "Check out now" to confirm
  4. A completion screen appears: "Thank you for your stay"

When several stays are active at once the keys appear as a carousel, and each card's "Check out" button checks out only the stay on that card.

If a payment is still outstanding, the confirmation screen shows a payment button (when LIFF is configured) or directs the guest to the front desk.

Show Key / Contact / Info (Fixed Cells)

Regardless of which features are configured, the bottom row of the rich menu always has "Show Key", "Contact" and "Info" buttons. "Show Key" works as described in "Key Display" above.

  • Contact: Tapping it opens the LINE chat's text input directly so the guest can type a message to the facility's LINE Official Account (no app opens)
  • Info: Tapping it replies in the chat with a card showing the facility's name, address, phone number, and contact email (no app opens)

Booking

Tapping "Book" in the rich menu opens the booking screen of the chosen reservation configuration inside LINE, when there is a LIFF app and a reservation configuration is chosen (in Step 4 or in Rich menu display settings). The guest can check availability and book right there.

Without a LIFF app, or without a chosen reservation configuration, it opens as an ordinary web page in a browser outside LINE (see "Rich menu buttons open in a browser outside LINE" below).


Troubleshooting

Connection test fails

  • Verify the Channel Access Token: Re-issue the token from the Messaging API tab in LINE Developers Console and paste it again.
  • Confirm Messaging API is enabled: Check that it is enabled under "Settings" → "Messaging API" in LINE Official Account Manager.
  • Check for extra whitespace: Make sure there are no leading or trailing spaces in the pasted token.

Provisioning fails (rich menu or webhook not configured)

  • Verify the Channel Secret: Double-check the Channel Secret from the Basic settings tab in LINE Developers Console.
  • "A facility app name cannot be used on the LINE menu": An app name saved earlier in Terms, before names were limited, is longer than 20 characters or contains emoji or similar characters. Open the Terms tab in the LINE message language: the name is shown in red. Shorten or change it, select "Save terms", then regenerate the rich menu.
  • "The rich menu image with this facility's app names could not be drawn": Try again later. If it keeps happening, contact support.
  • Contact support: Copy the error message and send it to support@unlockos.com.

Show Key, check-out and facility info do not respond (nothing comes back)

If tapping a button or typing a keyword produces no reply at all, the webhook is most likely disabled at LINE. In that case, the Webhook URL row under "Automatic setup status" shows "Not delivering".

  1. Open the "Messaging API" tab for the channel in the LINE Developers Console
  2. Under "Webhook settings" at the bottom, check whether "Use webhook" is ON
  3. Turn it on if it is off (if the URL is already correct, it does not need to be set again)
  4. If "Webhook URL" in the same section is empty or holds a different URL, enter https://api.unlockos.io/functions/v1/line-webhook, select "Update", then "Verify" and check that it succeeds (see "Entering the webhook URL by hand" above)

The key notification sent at check-in arrives regardless of this setting. That is what makes the problem look like nothing is wrong — the key shows up in the chat while the menu does nothing. Only the menu buttons and typed keywords go through the webhook, so only those stop responding.

Rich menu is not displayed in guests' LINE

  • On the connected screen, verify that "Rich menu" shows "Configured" under "Automatic setup status".
  • The guest may not have added your LINE Official Account as a friend yet. Provide them with the QR code.
  • Changes in LINE can take a few minutes to reflect.

Admin is not receiving notifications

  • On the Notification Workflows page, confirm the "Facility manager" workflow is enabled and its channel is "LINE". Workflows set to "Auto" are delivered by email.
  • Confirm that the "Administrator's LINE user ID" matches "Your user ID" in LINE Developers. The ID in the LINE Official Account Manager chat URL does not work.
  • Confirm that the administrator's LINE account has added the LINE Official Account as a friend.

No LIFF app is set up, so the rich menu opens ordinary web pages.

  1. Check that the LINE Login Channel ID / Login Channel Secret are filled in
  2. Check that the LINE Login channel's status is "Published"
  3. Click "Save and regenerate rich menu"
  4. If it still shows not configured, register the LIFF app using "If automatic creation does not work (manual registration)" in Step 3

LIFF app does not open or shows an error

  • "LIFF ID not configured" error: This is a system configuration issue. Contact support@unlockos.com.
  • "LINE login required" error: Make sure the guest is tapping the button from within the LINE app. This message appears when accessing the URL directly from an external browser.
  • "Failed to get LINE ID token" error: The LIFF app is missing the openid scope. If you saved a Login Channel Secret, click "Save and regenerate rich menu" to fix it. If you registered the LIFF app manually, open the LINE Login channel in LINE Developers Console → "LIFF" tab → the app → "Scopes", tick openid and save.
  • Blank white screen: Restart the LINE app and try again.

Guest check-in fails

  • If the guest cannot check in with a membership plan, confirm that they have linked LINE to their member account (see "Guests Opening from LINE and Member Accounts").
  • Confirm that a check-in configuration is selected in the LINE integration settings (Step 4, or Rich menu display settings).
  • Confirm that the selected check-in configuration is active and has a valid pricing plan.

Key is not displayed

  • Tapping "Show Key" sends the key as a message in the LINE chat — make sure the guest is looking in their LINE chat history, not in an app.
  • If "You have no active stay right now." appears, the guest has not checked in yet. When the reservation is confirmed and check-in is open, they get a "Check in & get key" button instead. If they do not, confirm the reservation status is confirmed and that its time has not already passed.
  • If the guest is in a group chat, neither keys nor reservations are shown. Ask them to use the 1-on-1 chat with the facility's LINE account.
  • If check-in succeeded but no key message appears, the smart lock may not be connected. See Lock Connection.
  • If the key card shows but cannot be used at the door, verify the lock connection and that the key has not expired.

Guest reservations are not displayed

  • Confirm that a reservation configuration is selected in the LINE integration settings (Step 4, or Rich menu display settings).
  • Confirm that the reservation has "confirmed" status.

FAQ

Q: Can one LINE Official Account be used for multiple facilities?

A: No. Each LINE Official Account can only be linked to one facility. If you manage multiple facilities, create a separate LINE Official Account for each.

Q: Can I connect a LINE Official Account that already uses Messaging API?

A: Yes, but the existing webhook settings will be overwritten with UnlockOS's webhook URL. Please verify your existing webhook setup before proceeding.

Q: Can I change the check-in or reservation configuration after LINE is connected?

A: Yes, without disconnecting. In "Rich menu display settings", re-pick the check-in or reservation configuration for each item, then click "Save and regenerate rich menu".

Q: What can guests do through LINE?

A: Guests tap rich menu buttons to interact with the facility. Depending on the features on the rich menu, they can check in (the key arrives as a card in the LINE chat), book (the booking screen opens inside LINE), or use the membership and ticket book screens. Check-out is not a rich menu button — guests start it from the button at the bottom of the key card that "Show Key" sends. Regardless of your selection, the bottom row always has "Show Key", "Contact" and "Info" buttons, which reply with the key card, the chat input or an info card.

Q: If I run LINE integration at multiple facilities, is the guest's LINE account shared across them?

A: No. LINE user IDs are issued per provider, so the same person has a different ID at a facility whose channels are under another provider. On top of that, the link between a guest and a facility's LINE is recorded per facility, so the same person is treated as a separate guest account at each facility. Stay history is not carried over between facilities.

Q: What does a guest need to do the first time they check in via LINE?

A: Nothing special. Opening the LIFF app signs them in with their LINE account, and they can check in right away.

Q: A member who opens the app from LINE is treated as a non-member

A: Their LINE account is not linked to their member account yet. Ask the guest to link it from the Members card at the top of the screen, using the email address they registered with (see "Guests Opening from LINE and Member Accounts" above). Staff and owner accounts cannot be linked.

Q: Is the fee shown to guests before check-in?

A: Yes. The check-in confirmation screen shows a breakdown of applicable charges and the total amount before the guest confirms.

Q: What if I need help with the setup?

A: You can request paid setup assistance using the link at the bottom of the page — it takes you to a contact form (unlockos.io/contact).


Open the MarkdownPaste it into an AI assistant.

Ask about this article

AI answers from this article's content.