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.
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 menuPOSTCreates a LINE rich menu definition and returns its id.delete_rich_menuDelete rich menuDELETEDeletes a LINE rich menu definition.get_rich_menu_listGet rich menu listGETLists the LINE rich menus defined on the official account.link_rich_menu_to_userLink rich menu to userPOSTLinks a LINE rich menu to a specific user.unlink_rich_menu_from_userUnlink rich menu from userDELETERemoves the per-user LINE rich menu and falls back to the default.
Message, 4 operations
broadcast_messageBroadcast messagePOSTBroadcasts LINE messages to every friend of the official account.multicast_messageMulticast messagePOSTSends the same LINE messages to up to 500 users in one call.push_messagePush messagePOSTPushes up to five messages to a LINE user, group or room.reply_messageReply messagePOSTReplies to a LINE webhook event with up to five messages, free of quota cost.
Group, 3 operations
get_group_member_countGet group member countGETCounts the members of a LINE group the bot belongs to.get_group_summaryGet group summaryGETRetrieves the name and icon of a LINE group the bot belongs to.leave_groupLeave groupPOSTMakes the LINE official account leave a group.
Profile, 2 operations
get_group_member_profileGet group member profileGETRetrieves the profile of a member of a LINE group.get_profileGet profileGETRetrieves the LINE profile of a friend of the official account.
Quota, 2 operations
get_quotaGet quotaGETReturns the monthly LINE message quota of the official account.get_quota_consumptionGet quota consumptionGETReturns the number of LINE messages already sent this month.
Bot, 1 operation
get_bot_infoGet bot infoGETRetrieves the LINE official account's own id, name and chat mode.
Content, 1 operation
get_message_contentGet message contentGETDownloads 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.
