LINE is a Japan based rapidly growing mobile messaging app that offers free voice and video calls, messages, and a limitless variety of stickers. With over 600 million users worldwide, LINE’s expanding platform is a great way to stay in touch with your customers.

Our LINE integration allows your users to send messages to your LINE bot which you receive in a business system or by configuring a webhook. Your replies are sent back as coming from your LINE bot.

Before you can configure LINE to work with Smooch, you’ll have to create a LINE account and a messaging API channel.

Creating a LINE Account

First, create a LINE end user account through a mobile app.

If you already have a LINE account, skip to Create a Messaging API Channel.

After having signed up with your phone number, you will need to activate email registration.

  1. Go in the settings (see screenshot below) > account and click on “Email registration”. Enter your email address and password and click “Register”. LINE will send you an email to confirm your registration.
LINE settings

Creating a LINE Messaging API Channel

To create a messaging channel, log in to the LINE developers page and follow these steps:

  1. Click “Start Using Messaging API”.

  2. Click the gray ”+” button to create a provider or select your desired provider and click on “Next Page”. A provider acts as a container of LINE apps.

  3. Enter the details of your new LINE app. These details will be visible to end users as your business profile information.

  4. Read and agree to the Terms of User, then click “Create”.

  5. Open the settings for your newly created app.

  6. In the “Messaging settings”, issue a “Channel access token”.

  7. When prompted for an expiration delay, select “0” to issue a non expiring token

  8. Enable the use of webhooks.

  9. In the “Using LINE@ features”, disable Auto-reply messages and Greeting messages.

You’re now ready to connect your LINE messaging account with Smooch.

Connecting a LINE account to Smooch

Via the integrations API

  1. Browse to the LINE developers page and select the provider and app you want to connect.

  2. Call the create integration endpoint providing channel access token (from the Messaging settings section) and channel ID and secret (from the Basic settings section).

  3. From the “Messaging settings” section, edit the “Webhook URL” and enter{appId}/{integrationId}, then save.

For more details, see the integration API reference.

From the Smooch dashboard

  1. Browse to the LINE developers page and select the provider and app you want to connect.

  2. In a separate browser tab, log in to the Smooch dashboard and select LINE in the list of integrations and follow these steps.

  3. In the LINE “Channel settings” page, select the previously generated Channel Access Token and paste it, as well as the Channel Secret and Channel ID into the respective fields in the Smooch integration page.

  4. Copy the webhook url displayed in the Smooch integration page. In the LINE “Channel settings” page, “Messaging settings” section, edit the “Webhook URL” and enter the webhook you copied, then save.

  5. In the Smooch dashboard, click “Connect your LINE channel” to complete the integration.

You can now add your channel to your list of friends by scanning the QR code displayed in the LINE “Channel settings” page, and talk directly to it. All messages should be sent to all webhooks and business systems you’ve configured previously in Smooch.