Using beacons

With LINE Beacon, your bot can receive beacon webhook events whenever a LINE user enters the proximity of a beacon. Using beacons, you can customize your bot app to interact with users in specific contexts.

note Note

LINE Beacon is available in Japan, Taiwan, Thailand, and Indonesia.

Getting a beacon

To use LINE Beacon, you'll first need a Bluetooth® Low Energy beacon to link with your LINE official account. You can link one of the following types of devices with your LINE official account.

  • A beacon device that supports LINE Beacon. Supported devices are available here. Note: These devices are only supported in Japan.
  • A Bluetooth® Low Energy device that uses the LINE Simple Beacon specification.

Linking your LINE official account with a beacon

To link your LINE official account with a beacon, go to the beacon registration page in LINE Official Account Manager. You can either link a LINE Beacon supported device with your LINE official account or issue a LINE Simple Beacon hardware ID for a device.

Note: You can link multiple beacons with a single LINE official account. However, a single beacon cannot be linked with multiple LINE official accounts.

Receiving webhook events

For your bot server to receive beacon webhook events when a user is detected by the beacon, the user must have Bluetooth and the LINE Beacon setting on LINE turned on. The user must also have added a LINE official account associated with your bot as a friend.

To trigger a beacon webhook event, follow these steps.

  1. Make sure that your smartphone has Bluetooth turned on
  2. Select Use LINE Beacon from Settings > Privacy on LINE
  3. Make sure that the beacon is turned on and bring your smartphone into its range
  4. Confirm that your bot server receives a beacon event object

Example beacon event object

{  
   "replyToken":"nHuyWiB7yP5Zw52FIkcQobQuGDXCTA",
   "type":"beacon",
   "timestamp":1462629479859,
   "source":{  
      "type":"user",
      "userId":"U4af4980629..."
   },
   "beacon":{  
      "hwid":"d41d8cd98f",
      "type":"enter"
   }
}

For more information, see beacon event in the Messaging API reference.

Beacon banner

The beacon banner feature is only available to corporate users. For more information, contact your LINE representative or make an inquiry through the LINE for Business website.

The beacon banner is a banner that appears above the "Friends" or "Chats" screen when a user is detected by a beacon. With the beacon banner feature, you can let users turn on "LINE Beacon" on LINE, add your LINE official account as a friend, and receive a message from your LINE official account by tapping on the banner.

Beacon banner

{{ $t("form.question.helpful") }}

{{ $t("form.question.detail") }}

{{ $t("form.question.improve") }}

{{ $t("form.info.start") }}{{ $t("form.info.link") }}{{ $t("form.info.end") }}


{{ $t("form.result.success") }}
{{ $t("form.result.error") }}
{{ $t("form.result.errorLink") }}