# How to find your LINE Channel secret and long-lived Channel access token

- Canonical URL: https://konkui.com/blog/line-channel-secret-access-token
- Published: 2026-11-16T09:53:06.496Z
- Updated: 2026-11-16T09:53:06.496Z
- Topics: line, line-oa, messaging-api, getting-started
- Language: en
- Markdown: https://konkui.com/blog/line-channel-secret-access-token/md

---

Connecting your LINE Official Account (LINE OA) to Konkui takes two values from the **LINE Developers Console**: the **Channel secret** and a **Channel access token (long-lived)**. This guide walks you to both in under five minutes.

## What you need

| Value | Where it lives | What it looks like |
| --- | --- | --- |
| Channel ID | **Basic settings** tab | A number of about 10 digits |
| Channel secret | **Basic settings** tab | Exactly 32 characters, 0–9 and a–f |
| Channel access token (long-lived) | **Messaging API** tab (at the bottom) | A very long string of letters and digits |

> Connecting through Konkui's **Settings → LINE** asks for an **Access Token** and **Channel Secret**. The Konkui Agent onboarding also asks for the **Channel ID**.

## Step 1: Enable the Messaging API in LINE Official Account Manager

Since September 4, 2024, LINE no longer lets you create Messaging API channels directly in the LINE Developers Console. You enable it from your LINE OA instead.

1. Open [LINE Official Account Manager](https://manager.line.biz/) and select your LINE OA.
2. Go to **Settings** → **Messaging API**.
3. Click **Enable Messaging API**.
4. Choose an existing **Provider** or create one (your company or brand name works well), then confirm.

LINE creates the Messaging API channel for you.

> Already enabled the Messaging API? Skip to Step 2.

## Step 2: Open the channel in the LINE Developers Console

1. Go to the [LINE Developers Console](https://developers.line.biz/console/) and log in with the same LINE account that manages your LINE OA.
2. Select the **Provider** you chose in Step 1.
3. Click the channel whose type is **Messaging API** (it carries your LINE OA's name).

## Step 3: Copy the Channel ID and Channel secret

1. Stay on the **Basic settings** tab (the first tab).
2. The **Channel ID** is near the top — copy it.
3. Scroll down to **Channel secret** and click the copy icon.

> ⚠️ Don't click **Issue** next to the Channel secret unless you mean to. Reissuing invalidates the old secret, and any connected system will stop verifying messages from LINE.

## Step 4: Issue a Channel access token (long-lived)

1. Open the **Messaging API** tab.
2. Scroll to the bottom to **Channel access token (long-lived)**.
3. If there's no token yet, click **Issue**.
4. Click the copy icon to copy the whole token — it's long, so make sure nothing is cut off.

A long-lived token **never expires**, which is what an always-on integration like Konkui needs.

> ⚠️ Clicking **Reissue** revokes the old token. If Konkui already has the old one, paste the new token right away or your bot will stop replying to customers.

## Step 5: Paste the values into Konkui

1. In Konkui, open the LINE connection screen (**Settings → LINE**, or the LINE step of onboarding).
2. Paste the **Channel access token** into *Access Token* / *Long-lived Channel Access Token*.
3. Paste the **Channel secret** into *Channel Secret*.
4. If asked, paste the **Channel ID** too.
5. Save.

## Tips

- **Webhook:** if Konkui shows you a Webhook URL, paste it under **Messaging API → Webhook settings** and turn on **Use webhook**.
- **Turn off LINE OA auto-replies:** in LINE Official Account Manager, go to **Settings → Response settings** and turn off *Auto-response messages* so LINE's canned replies don't talk over your bot.
- **Keep them secret:** the Channel secret and access token are effectively your LINE OA's passwords. Don't paste them into group chats or emails, or share screenshots of them. The Konkui team will never ask for them in chat.
- **Think they leaked?** Reissue the token (and the Channel secret if needed) in the LINE Developers Console, then update Konkui with the new values.

## Troubleshooting

**I can't see the channel in the LINE Developers Console**
Make sure you're logged in with a LINE account that is an admin of the LINE OA, and that you enabled the Messaging API in Step 1.

**Konkui says the Channel secret is invalid**
It must be exactly 32 characters (0–9, a–f). Check for stray spaces or line breaks, and that you didn't paste the Channel ID by mistake.

**Saved, but the bot doesn't reply**
Check that you copied the full access token, and that nobody clicked Reissue after you pasted it into Konkui.

---

References: [LINE Developers — Channel access token](https://developers.line.biz/en/docs/basics/channel-access-token/) · [Get started with the Messaging API](https://developers.line.biz/en/docs/messaging-api/getting-started/)
