LINE is a Japan based rapidly growing mobile messaging app that offers free voice and video calls, messages, and a limitless variety of stickers. With over 100 million users worldwide, LINE’s expanding platform is a great way to stay in touch with your customers.
Whether it’s to offer a bot, human-powered customer experience, LINE is the channel for reaching customers in Japan, Taiwan, Thailand, Indonesia, and other asian regions. LINE’s capabilities are among the best on the market.
All LINE official accounts include API access.
Availability | Open to everyone |
Account Plan Tiers | Free / Basic (or Light) / Pro (or Standard) |
Account types | Premium / Verified / Unverified |
When it comes to the different account plans offered, the main difference is the number of messages that can be sent. If you are using a free tier, you will not be able to incur overages. All other plans support overages with the highest plan being most cost effective for sending a large volume of messages. Please contact LINE directly for plan prices and message limits.
Additionally, every LINE official account can be upgraded from the default Basic ID to a Premium ID for an annual fee.
Once this account is reviewed by LINE, the account will receive a green account badge and will appear in searches within the LINE app. When applying for verification, select accounts may be awarded this status but the criteria are undisclosed.
Once this account is reviewed by LINE, the account will receive a blue account badge and will appear in searches within the LINE app.
This account type can be used by both individuals and corporations. The basic features are the same as verified accounts and this account type can be upgraded to any plan tier at will.
LINE lets businesses customize these profile options
These can be configured via the LINE developers page and selecting the provider and app you want to customize.
After having signed up with your phone number, you will need to activate email registration (alternatively you can use the login with QR Code option).
To create a messaging channel, login to the LINE developers page and follow these steps:
You’re now ready to connect your LINE messaging account with Sunshine Conversations.
Line supports a wide variety of capabilities as seen in the channel capabilities grid. Below is a detailed view of each capabilities.
Delivery events allow you to track deliveries of Sunshine Conversations messages to LINE by subscribing to the conversation:message:delivery:channel
webhook. Failures to deliver a message to LINE can be detected by subscribing to the conversation:message:delivery:failure
webhook.
Flex messages must be sent using the passthrough API. The passthrough API is a way to leverage channel specific features not folded into the Sunshine Conversations API (e.g. sending Flex Messages with your own customized layout). To accomplish this, the developer provides Sunshine Conversations with the raw payload to send to LINE’s API, and the Sunshine Conversations platform will “pass it through” without changing its state.
To use the passthrough API, you first craft a valid Sunshine Conversations message of any type, then you specify an additional override parameter for the channels you would like to use passthrough. Under the channel name (in this case line
), the payload field contains the exact structure of a valid LINE API call to the Send Messages endpoint.
Example using Flex Messages:
{
"role": "appMaker",
"type": "text",
"text": "N/A",
"override": {
"line": {
"payload": {
"messages": [
{
"type": "flex",
"altText": "This is a Flex Message",
"contents": {
"type": "bubble",
"body": {
"type": "box",
"layout": "horizontal",
"contents": [
{
"type": "text",
"text": "Left"
},
{
"type": "text",
"text": "Right"
}
]
}
}
}
]
}
}
}
}
Integrate with LINE via the Messaging API. Send messages by making calls to the API and receive them via a webhook that LINE calls every time a new message is sent by a user. This integration requires these credentials to make calls on your account:
Head to the LINE developers page and select the provider and app you want to connect.
Call the create integration endpoint providing a channel access token (from the Messaging settings section) and a channel secret (from the Basic settings section).
From the “Messaging settings” section, edit the “Webhook URL” and enter https://app.smooch.io:443/api/line/webhooks/{appId}/{integrationId}
, then save.
If you are a licensed Zendesk customer, enter https://<subdomain>.zendesk.com/sc/api/line/webhooks/{appId}/{integrationId}
, then save.
For more details, see the integration API reference.
If you are a licensed Zendesk customer, use the embedded sign-up flow in the Admin Center. For detailed instructions, see Adding LINE channels to the Zendesk Agent Workspace.
Once integrated, you can add your business to your list of friends on the LINE app by scanning the QR code displayed in the LINE “Channel settings” page, and talk directly to it. All messages should be sent to all webhooks and business systems that you’ve previously configured in Sunshine Conversations.
LINE does not restrict when messages can be sent to end users once a user start following your account.
LINE restricts the maximum number of characters for a reply button label
to 20. If you exceed this number, it will be truncated to 20. For more information, see Action objects in the LINE developer documentation.
LINE offers a few way for end users to find a business account. See all the discovery mechanism available here.