This topic describes how to connect a LINE Official Account to a Chat App Message Service channel, configure channel credentials, and set up the webhook. After authorization, you can send messages to users from the Chat App Message Service console.
Prerequisites
A LINE-type channel is created. For more information.
A LINE Official Account is registered.
A Provider and a Messaging API Channel are created in the LINE Developers Console. If you have not created them, go to LINE Developers Console to complete the creation.
Authorization workflow
Complete the credential configuration and webhook verification by following these steps:
Create a Provider and Channel in the LINE Developers Console: Complete the preparation in the LINE Developers Console.
NoteWhen you generate the Channel Access Token, you must generate a Long-lived Token.
Enter credentials in Chat App Message Service: Enter the Channel ID and Channel Secret in the Chat App Message Service console.
Auto-configure the LINE webhook: Go to the LINE Developers Console, enable Use Webhook, Webhook redelivery, and Error statistics aggregation under the Messaging API channel of the target Channel. Then, in the Chat App Message Service console, click Auto-configure webhook. The system automatically configures the LINE webhook. Make sure that you have entered the correct Channel ID and Channel Secret; otherwise, configuration is affected.
Confirm the configuration: Verify that all configuration information is correct.
Complete the authorization: View the authorization result and plan quota information.
Procedure
Step 1: Create a Provider and Channel
Before you start the authorization, complete the following preparation in the LINE Developers Console:
Go to LINE Developers Console.
Create a Provider. If you already have a Provider, skip this step.
Create a Messaging API Channel under the Provider.
Record the basic information of the Channel for use in later steps.
Learn about LINE official plan quotas
The free message quota may differ by country or region. The LINE official page is the authoritative source.
LINE Official Account provides three plans, each with a different monthly message quota:
Plan | Free message quota | Description |
Free | 500 messages/month | Suitable for small-scale testing and personal use. |
Light | 5,000 messages/month | Suitable for small and medium-sized businesses. |
Standard | 30,000 messages/month | Suitable for large enterprises and high-frequency sending scenarios. |
Understand the LINE official rules and choose the right plan based on your business scale. You can view or purchase plans at LINE Official Account Manager.
You do not need to specify a plan when binding in Chat App Message Service. The system automatically recognizes your current plan after the binding is completed.
After the preparation is complete, click Next to go to the credential entry page.
Step 2: Enter credentials
In this step, you enter the Channel credentials obtained from the LINE Developers Console.
Obtain credentials
In the LINE Developers Console, go to the Messaging API Channel that you created.
On the Basic settings tab, obtain the following information:
Channel ID: A numeric channel identifier.
Channel Secret: A 32-character hexadecimal string.
Enter credentials
On the credential entry page in the Chat App Message Service console, enter the following information:
Field | Description |
Channel ID | The Channel ID obtained from the Basic settings tab. |
Channel Secret | The Channel Secret obtained from the Basic settings tab. |
All fields are required. After you complete the entry, click Next.
Step 3: Configure the webhook
The webhook is used to receive message events and delivery notifications from the LINE platform. In this step, the system automatically configures the webhook URL in the LINE Developers Console.
Configuration steps
Go to LINE Developers Console and enable Use Webhook, Webhook redelivery, and Error statistics aggregation under the Messaging API channel of the target Channel. Otherwise, you cannot receive inbound messages after the configuration is completed.
In the Chat App Message Service console, click Auto-configure webhook. The system automatically configures the LINE webhook. Make sure that you have entered the correct Channel ID and Channel Secret and enabled the webhook switches in the LINE Developers Console; otherwise, configuration is affected.
If webhook verification fails, check the following:
Whether the network connection is working.
Whether the Use webhook switch and related switches in the LINE console are enabled.
After verification succeeds, click Next to go to the confirmation page.
If the webhook is not verified, the system displays a warning. You can choose to continue or re-verify.
Webhook verification failure does not affect message sending, but you cannot receive user replies or message delivery receipts, nor can you obtain group information. We recommend that you complete webhook verification before proceeding.
Step 4: Confirm the configuration
In this step, the system displays all configuration information in a table. Review the information carefully:
Item | Value |
Channel Name | The name of your LINE Official Account. |
Channel ID | The Channel ID you entered. |
Channel Secret | The Channel Secret displayed in masked form. |
Webhook URL | The webhook URL generated by the system. |
Webhook status | Verification passed or failed. |
After you verify that the information is correct, click Finish to save the configuration.
Step 5: Complete the authorization
After successful authorization, the system displays the following information:
Configuration completion status
The information you have configured is displayed.
LINE official plan quota
The system automatically obtains and displays the current plan quota usage of your LINE Official Account:
Quota item | Description |
Monthly quota | The total plan quota. If you are using an unlimited plan, "Unlimited" is displayed. |
Used this month | The number of messages used. |
Remaining | The number of remaining messages. This item is not displayed for unlimited plans. |
Quota data can be refreshed every 60 seconds. You can also click Refresh to update the data manually.
The LINE official plan quota data comes from the LINE official API. Actual deduction is performed by the LINE platform.
Chat App Message Service is a message-sending tool. It does not control or affect your LINE plan balance. Whether plan messages are deducted after sending is determined by LINE.
To learn about plan details or upgrade your plan, go to LINE Official Account Manager.
Notes
Webhook verification failure does not affect message sending, but you cannot receive user replies or message delivery receipts. We recommend that you complete webhook verification before using the service.
The LINE official quota data is reset on the 1st of each month. Plan your message sending accordingly.