Reply
From
To
Message
Yui Tanaka

LINE API
for products and agents
Read and answer your LINE Official Account chats from your own product, with the same Zernio API you use for WhatsApp, iMessage and social.
- SOC 2
- GDPR compliant
- 99.97% uptime
- Under 50ms response
Why Zernio?
Everything between you and your first message, handled
Zernio API
Webhook set for you
Paste the Channel ID and secret, Zernio points LINE at the right URL
Free replies first
The reply token is used while it is valid, push only after it expires
Media kept
Images, video, audio and files are stored before LINE's links expire
One API for every channel
Same inbox, broadcasts and webhooks as WhatsApp and social
Building it yourself
A webhook server to run
Signature checks, retries and an endpoint that never sleeps
Reply tokens that expire
Miss them and every reply counts toward your quota
Content that disappears
Download every image and file before LINE drops it
No inbox
You build the UI, contacts and history yourself
From zero to first LINE reply in minutes

Connect LINE
Channel ID
2006751234
Channel secret
••••••••••••c41a
Paste two keys
Enable the Messaging API in LINE Official Account Manager and copy the Channel ID and Channel secret. Zernio sets the webhook.

Response settings
Webhooks
Off
Auto-response messages
On
Flip two switches
In LINE Official Account Manager, turn on Webhooks and turn off auto-response.

Conversations
Òscar
+34 634 44 21 23
All works!
Whatsapp Bus...
+34 639 32 11 23
Hey, i have a question...
Every chat in one inbox
LINE chats land next to your WhatsApp, iMessage and social DMs, ready to answer.
Everything your LINE account receives, in your product

Conversations
Yui Tanaka
Is the Shibuya store open on Sunday?
Marta Ruiz
Can I change the size?
Jonas Weber
Thanks, got it!
Unified inbox
Text, images, video, audio, files, stickers and locations, next to every other channel.

Replies
Answer with text or media. Zernio picks the free reply token or a push for you.

Sunday sale
Sent20% off everything in store this Sunday only 🛍️
1,240 LINE contacts
Broadcasts
Send one message to a list of LINE contacts from the API or the dashboard.

When a message contains
"opening hours"
Reply with
We're open 10:00 to 20:00, every day
Automations
Keyword replies and automations run on LINE chats like on every other channel.

Button taps
Rich menu and button taps (postbacks) arrive in the conversation, so you can answer them.

POST /webhooks/zernio
{
"event": "message.received"
"platform": "line"
"from": "Yui Tanaka"
"text": "Open on Sunday?"
}
Webhooks
Get message.received on your server for every new LINE message, in the same shape as every channel.
Let an agent run LINE end to end
Every step runs through Zernio's MCP server, so an AI agent can read LINE chats and draft replies without anyone opening the dashboard.
› claude
Claude Code v2.1.19
Opus 4.5 · Claude Max
~/software
›
✓ registered · https://mcp.zernio.com/mcp
✓ signed in over OAuth · no key pasted
✓ call_tool · read 6 LINE chats
✓ 6 replies drafted · nothing sent yet
Build it yourself with 8 SDKs
or the CLI
Read and answer LINE chats with one REST call from Node, Python, Go, Ruby, Java, PHP, .NET, or Rust, or script it from the terminal with the Zernio CLI.
Read the docsimport Zernio from '@zernio/node';const zernio = new Zernio(); // reads ZERNIO_API_KEYconst { data } = await zernio.messages.sendInboxMessage({path: { conversationId: 'conv_3c1d' },body: { accountId: 'acc_8f2a', message: 'Yes, Shibuya is open 10:00 to 20:00 on Sunday' },});
Node
Python
Go
Ruby
Java
PHP
.NET
Rust
Messages on one meter
A LINE account counts as one connected account on your plan. The messages you send share the message allowance with every other channel.
After 10,000 free a month
$1
Per 10,000 messages sent
Messages received
Free
LINE message quota
Billed by LINE
Frequently Asked Questions
Ship LINE today
No credit card, no sales call. Connect your LINE Official Account and start replying today.
- SOC 2
- GDPR compliant
- 99.97% uptime
- Under 50ms response