Skip to main content

LINE

Quick Overview

Connect a LINE Official Account to WaaPY Lite using a channel access token and a channel secret. WaaPY Lite registers the webhook endpoint with LINE automatically when the connection is created.

Step 1: Open the Connections page​

Go to Connections in the left sidebar. On the Connected Channels page, click the green + Add Connection button in the top-right corner.

Step 2: Select LINE​

In the Add Connection modal, select LINE (Connect your LINE Official Account).

Step 3: Enter the LINE credentials​

In the Add LINE connection modal, fill in the required details.

  • Name: enter a name for the connection. The name must be 2 to 25 characters long.
  • Channel access token: paste the long-lived channel access token from the LINE Developers Console. See the LINE console setup tab for where to find it.
  • Channel secret: paste the 32-character hexadecimal channel secret from the LINE Developers Console. See the LINE console setup tab for where to find it.

You can also pick an icon and a background color to customize how the connection appears in the workspace.

Click Start login to create the connection.

Step 4: Review the connected bot​

When the connection succeeds, WaaPY Lite shows a confirmation panel with the details of the connected bot.

  • Bot name: the display name of the LINE Official Account.
  • Bot basic ID: the public ID of the bot.
  • Bot user ID: the internal user ID of the bot.
  • Webhook URL: the URL LINE sends events to. Use the copy button next to it if you need to paste it elsewhere.

If an amber alert appears with the text "LINE accepted the credentials but webhook registration failed.", enable Use webhook in the LINE Official Account Manager and check the webhook URL. See the LINE console setup tab.

What LINE connections support​

  • Text messages up to 5000 characters.
  • Images, videos, and audio. Documents are not supported on LINE.
  • Stickers received from users.
  • Flex messages and interactive replies.
  • Typebot flows and the AI agent.

Templates are not available on LINE. Templates are a WhatsApp feature, so the Manage templates button does not appear on a LINE connection. See Templates.

Troubleshooting​

  • "Channel access token is invalid or no longer valid. Check the token in the LINE Developers Console." Reissue a long-lived channel access token in the Messaging API tab and paste the new token into WaaPY Lite.
  • "Channel secret format is invalid. It must be 32 hexadecimal characters." Copy the channel secret again from the Basic settings tab and check that it contains 32 hexadecimal characters.
  • "This LINE Official Account is already connected in this workspace." Each LINE Official Account can be connected only once per workspace. Check the existing connections before adding it again.
  • "LINE accepted the credentials but webhook registration failed." Enable Use webhook in the LINE Official Account Manager, then check the webhook URL shown in WaaPY Lite.
  • "This file type is not supported on LINE. Send images, videos, or audio only." Convert the file to a supported type or send it through a WhatsApp connection instead.
  • "User unfollowed the official account. Messages can't be delivered." The contact has blocked or unfollowed the LINE Official Account, so messages cannot be delivered.
  • "LINE monthly push message quota exceeded. Try again next month or check your LINE plan." The monthly push message quota for the LINE Official Account has been reached. Wait for the quota to reset or review the LINE plan.
  • "LINE rate limit reached — retry in a moment." Too many requests were sent in a short time. Wait briefly and try again.