LINE Messaging integration
LINE Messaging API v2 for official accounts: push, multicast, broadcast and narrowcast messages, reply to a webhook event, manage rich menus, read user profiles and group memberships, download the media a user sent, and check the monthly message quota. The channel access token travels as a bearer token.
Say what should happen.
The workflow builds itself.
Common LINE Messaging use cases
- validating a new LINE credential
- notifying a segment of subscribers
- answering a user message in a LINE chatbot
- cleaning up menus after a seasonal campaign
- letting users remove the bot with a command
- attributing a group message to a named person
- notifying a customer that their order shipped
- processing a photo a customer sent to support
- shipping a menu of quick actions for a chatbot
- auditing which menus exist before switching one
What you can do with LINE Messaging
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Rich menu, 5 operations
create_rich_menuCreate rich menuPOSTAgents: ask firstCreates a LINE rich menu definition and returns its id.delete_rich_menuDelete rich menuDELETEAgents: ask firstDeletes a LINE rich menu definition.get_rich_menu_listGet rich menu listGETAgents: ask firstLists the LINE rich menus defined on the official account.link_rich_menu_to_userLink rich menu to userPOSTAgents: ask firstLinks a LINE rich menu to a specific user.unlink_rich_menu_from_userUnlink rich menu from userDELETEAgents: ask firstRemoves the per-user LINE rich menu and falls back to the default.
Message, 4 operations
broadcast_messageBroadcast messagePOSTAgents: ask firstBroadcasts LINE messages to every friend of the official account.multicast_messageMulticast messagePOSTAgents: ask firstSends the same LINE messages to up to 500 users in one call.push_messagePush messagePOSTAgents: ask firstPushes up to five messages to a LINE user, group or room.reply_messageReply messagePOSTAgents: ask firstReplies to a LINE webhook event with up to five messages, free of quota cost.
Group, 3 operations
get_group_member_countGet group member countGETAgents: ask firstCounts the members of a LINE group the bot belongs to.get_group_summaryGet group summaryGETAgents: ask firstRetrieves the name and icon of a LINE group the bot belongs to.leave_groupLeave groupPOSTAgents: ask firstMakes the LINE official account leave a group.
Profile, 2 operations
get_group_member_profileGet group member profileGETAgents: ask firstRetrieves the profile of a member of a LINE group.get_profileGet profileGETAgents: ask firstRetrieves the LINE profile of a friend of the official account.
Quota, 2 operations
get_quotaGet quotaGETAgents: ask firstReturns the monthly LINE message quota of the official account.get_quota_consumptionGet quota consumptionGETAgents: ask firstReturns the number of LINE messages already sent this month.
Bot, 1 operation
get_bot_infoGet bot infoGETAgents: ask firstRetrieves the LINE official account's own id, name and chat mode.
Content, 1 operation
get_message_contentGet message contentGETAgents: ask firstDownloads the media attached to a LINE message as a fileRef.
Use LINE Messaging from Claude Code, Cursor or Codex
Connect LINE Messaging in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its LINE Messaging operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect LINE Messaging
- Create your workspace
Sign up free. Nothing to install.
- Connect LINE Messaging once
Add your LINE Messaging connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
LINE Messaging integration FAQ
What can you do with the LINE Messaging integration?
LiveContext exposes 18 operations on LINE Messaging, covering rich menu, message, group and profile. Common uses include validating a new LINE credential, notifying a segment of subscribers and answering a user message in a LINE chatbot.
