Help Centre / LINE

LINE

Connect your LINE Official Account through the Messaging API and answer LINE chats from PALMS.

Customers add your LINE Official Account as a friend and chat with it. With the Messaging API turned on, those chats arrive in the PALMS inbox and your team answers from there. You paste two codes from LINE once; PALMS checks them and sets everything else. About 10 minutes.

Before you start

  • A LINE Official Account for your business. It’s free to create in LINE Official Account Manager.
  • Admin access to that account, and the LINE Business ID (or LINE account) you sign in with.
  • A computer: the LINE Developers console is easier to use on a big screen.

Turn on the Messaging API

  1. Open LINE Official Account Manager and choose your account.
  2. Go to Settings → Messaging API and click Enable Messaging API.
  3. Choose a provider (usually your company name) or create one, then confirm. The provider can’t be changed later.

LINE creates a Messaging API channel with your account’s name in the LINE Developers console.

Let PALMS answer

Still in LINE Official Account Manager, open Settings → Response settings:

  • Turn Webhooks on.
  • Turn Auto-response messages off, so customers get your team’s answers instead of LINE’s automatic ones.
  • The Greeting message (sent when someone adds you as a friend) can stay on.

You don’t need to type the webhook address: PALMS sets it in the next step.

Paste the two codes

  1. Open the LINE Developers console, choose your provider, then the channel with your account’s name.
  2. Basic settings tab: copy the Channel secret.
  3. Messaging API tab: at the bottom, click Issue next to Channel access token (long-lived) and copy it.
  4. Paste both in PALMS and click Connect.

PALMS checks the codes with LINE, shows your account’s name and picture, stores the codes encrypted and sets the webhook address in LINE.

Test your connection

  1. Add your account as a friend: scan its QR code or open its link (https://line.me/R/ti/p/@your-id).
  2. Send the code PALMS shows (for example PALMS-4821).
  3. PALMS answers in LINE and the step shows a success tick.

What works on LINE

  • Text, images, videos, audio, files, stickers and locations arrive in the inbox. You can send text, images, videos and audio.
  • No reply window: you can answer friends at any time.
  • Message quotas: messages you send count towards your LINE plan’s monthly quota, which depends on your country and plan. Check it in LINE Official Account Manager → Usage.
  • Only people who added your account as a friend can be messaged; if they block it, your messages fail with an explanation.

Troubleshooting

What you seeWhyWhat to do
The codes are refusedOne of them was copied partly, or the token was reissued sinceCopy both again from the console (Issue a new token if needed)
Connected, but no messages arriveWebhooks is off in Response settingsTurn it on, then send another message
Customers get LINE’s automatic answer tooAuto-response messages are still onTurn them off in Response settings
“Needs a public address”This PALMS server isn’t reachable over httpsAsk your PALMS administrator to set the public URL

Reconnect

If the token was revoked, issue a new one in the console and use Reconnect on the channel. PALMS checks it belongs to the same LINE account; conversations stay as they are.

Still stuck?

Our team answers on WhatsApp, in English or French.

WhatsAppOpen Graphwafe