docs/src/content/docs/en/agentclaw/line.md
LINE is for routing agent messages into an existing LINE friend list, group chat, or LINE Official Account. CCR uses a Channel Access Token as the primary auth field.
New to AgentClaw? Read the AgentClaw overview and usage and configuration first, then come back here for a single platform.
In CCR, LINE's auth type is labeled Bot Token, but you fill in these two channel fields:
| Name in the LINE dashboard | CCR field | Required | Notes |
|---|---|---|---|
| Channel access token | Channel Access Token | Required | Lets the bot call the LINE Messaging API |
| Channel secret | Channel Secret | Recommended | Used to verify requests from LINE |
Create a new channel.Messaging API.If you already have a LINE Official Account, you can enable Messaging API in its settings, then come back to the console to copy credentials.
Basic settings.Channel secret and copy it for CCR's Channel Secret.Messaging API tab.Channel access token.Issue or Reissue.Prefer a long-lived token. Reissuing invalidates the old token, so update CCR at the same time.
Allow bot to join group chats.For lock-screen-only alerts, use Handoff without Forward agent messages.
How to tell it worked: LINE shows the agent's message, and replies keep the agent going.
Allow bot to join group chats is on, then re-add the bot to the group.