- Messaging API
Use the Messaging API to build bots that provide personalized experiences for your users on LINE.
To start building a bot, go to Getting started.
How it works
The Messaging API allows for data to be passed between the server of your bot application and the LINE Platform. When a user sends your bot a message, a webhook is triggered and the LINE Platform sends a request to your webhook URL. Your server then sends a request to the LINE Platform to respond to the user. Requests are sent over HTTPS in JSON format.
What you can do with the Messaging API
Send reply messages
Reply with a message to users who interacts with your bot. Requires a reply token in the request. For more information, see send reply messages.
Send push messages
Send messages directly to users whenever you want. For more information, see send push messages.
Note: This feature is limited to certain plans. See LINE@ plans.
Send various message types
For more information, see message types.
Get user profiles
Get LINE user profile information of users who interact with your bot in one-on-one and group chats. You can get users' display names, profile images and status messages.
For more information, see get profile.
Join group chats
Send messages in group chats and get information about the members of the group. For more information, see group chats.
To use the Messaging API, you must have a LINE@ account. A LINE@ account is the LINE account for your LINE bot. For more information on the different features and plans for LINE@ accounts, see the LINE@ website.
Get started with the Messaging API
To start building a bot with the Messaging API, follow these steps:
Questions or suggestions?
If you have any questions about our LINE Platform products, first check our FAQ page and Community site. To share suggestions or feature requests regarding the documentation or the LINE Platform, click the buttom below or create an issue on the LINE Platform feedback GitHub repository.