LINE setup, in full

Connect your LINE Official Account to your gym software

The four credentials, the two addresses, the five steps in order, and the three settings on LINE's side that stop every message without a word of warning. Written from a real setup, not from a marketing page.

Free up to 25 active members. LINE sign-in and automatic messages included.

Before you start

Four things have to exist first

None of them is provided by your software. You bring your own LINE accounts, and the connection points at them.

  • A LINE Official Account. This is what your members add as a friend, and what your messages are sent from.
  • Access to the LINE Developers Console, where you create one provider and two channels. This is where most of the work happens.
  • Access to the LINE Official Account Manager, a separate site, where three settings have to be turned off.
  • The Owner or Admin role in your gym software. Other staff do not see the integrations screen at all.

One customer paid to have this done. That is the most honest measure of the difficulty. Nothing in any single step is complicated, but the console is unfamiliar and two of the mistakes cannot be undone without starting a channel again.

The credentials

Four fields, from two different channels

Two belong to the channel that signs your members in, two to the channel that sends the messages. Mixing them up is the most common reason a connection saves cleanly and then does nothing.

1
Channel ID (LINE Login)
LINE Login channel → Basic settings
2
Channel secret (LINE Login)
Same channel, same tab
3
Messaging API access token
Messaging API channel → Messaging API tab
You may have to press Issue the first time.
4
Channel secret (Messaging API)
Messaging API channel → Basic settings
A different tab from the token above. This is the one people miss.

Two addresses travel the other way, from your software into LINE: a webhook URLthat goes into the Messaging API channel and brings your members’ replies in, and a callback URLthat goes into the LINE Login channel and links a member’s account to their profile. They are not interchangeable. Put each one in the other’s box and everything still looks normal: the connection saves, sign-in works, and replies simply never arrive. Copy them, never retype them, since a trailing slash is enough to break sign-in.

The setup

Five steps, in this order

Do not skip ahead. Step five only becomes possible once steps two and four are both done, and it is the step that decides whether any message is ever delivered.

01

Create a provider

A provider is just a container. Both channels you are about to create have to live inside this same one. Name it after your studio.

02

Create a Messaging API channel

This channel is your Official Account: it is what sends the messages. Once it exists, open its Messaging API tab, issue the access token, and paste it into field 3. Its Basic settings tab gives you field 4.

03

Give that channel the webhook address

Still in the Messaging API tab, paste the webhook URL, turn on Use webhook, and press Verify. LINE should answer Success. Both parts matter: the address, and the toggle underneath it.

04

Create a LINE Login channel under the same provider

Check the provider name at the top of the page before you create it. Copy its Channel ID and secret into fields 1 and 2, then paste the callback URL into its Callback URL, and turn on the toggle above it.

05

Link the Official Account to the Login channel

In the LINE Login channel, open Basic settings and find Linked LINE Official Account. Press Edit and choose the account you created in step two. Skip this and LINE never offers Add as friend, so nobody becomes a friend, and an Official Account can only write to its friends.

On LINE's side

Three switches to turn off

They live in the LINE Official Account Manager, not in the Developers Console and not in your software. All three are on by default, all three interfere, and no software can read them for you.

Chat mode, off

Chat mode tells LINE a human will answer inside the LINE app. While it is on, LINE keeps incoming messages to itself and never calls the webhook, so nothing your members write reaches your inbox.

Greeting messages, off

LINE sends its own welcome the moment someone adds your account as a friend. Since members usually become friends at the exact moment they book, they receive LINE's greeting stacked on top of your booking confirmation.

Auto-reply messages, off

Same reasoning. LINE's automatic replies land on top of whatever your software sends, and they compete with the keyword replies you set up yourself.

Turn these off before you tell members they can reach you on LINE. Undoing the confusion of duplicate messages costs more than the two minutes this takes.

Proving it

The only test that proves anything

No indicator can tell you a message reached a real phone, because LINE reports a send as successful even when it quietly drops it. So test it the way a member experiences it. You need one phone with LINE installed.

  • Sign in as a member on a phone with LINE installed, using Continue with LINE. If LINE offers Add as friend, accept it. If it never offers, stop and go back to step five.
  • Book a class. The confirmation should reach LINE within a few seconds, from your Official Account, under your studio's name.
  • Write anything back to the Official Account, then open the inbox. Your message should appear there within twenty seconds, attached to that member.

If all three work, every part of the chain has been exercised: the Login channel, the friend link, the messaging token and the webhook. Nothing else needs checking.

Troubleshooting

When nothing arrives, in order of likelihood

All five look like a working connection from inside the software. Work down the list.

1. The Official Account is not linked to the Login channel

Silent and total. LINE never offers Add as friend, so nobody is a friend and nothing is delivered.

Fix: Step five. Members who already signed in are offered the friend prompt the next time they sign in.

2. The two channels sit under different providers

Accounts link, every send reports success, nothing arrives. LINE issues a different user identifier per provider, so two channels under two providers can never recognise the same person.

Fix: A new channel under the right provider, and every member links again. There is no other way, and a channel can never be moved.

3. The two addresses are swapped

Sign-in works, messages go out, replies never come back. Putting each address in the other's box looks completely normal.

Fix: Recheck both boxes on LINE's side, character for character. A trailing slash or a www. is enough to break it.

4. Chat mode is still on

Your outgoing messages work perfectly. Nothing your members write ever reaches the inbox.

Fix: LINE Official Account Manager, Chat mode off.

5. The messaging token was revoked

Fails silently as well, and nothing monitors it.

Fix: If messages stopped on a particular day and nothing else changed, reissue the token and paste it in again.

Pricing

LINE sign-in and the twelve automatic messages are included free up to 25 active members, then 1,990 THB a month.

FAQ

Questions people actually ask

Your members are already on LINE.

Connect your own Official Account and meet them there. Free up to 25 active members.

Start free

Free forever · No credit card · No sales call