# Messaging API reference

# Common specifications

Common specifications for Messaging API, such as the domain name of endpoints, response when a request succeeds or fails, and rate limit.

# Webhooks

When an event occurs, such as when a user adds your LINE Official Account as a friend or sends a message, the LINE Platform sends an HTTPS POST request to the webhook URL (bot server).

The webhook URL is configured for each channel in the LINE Developers Console.

# Webhook Event Objects

These are JSON objects containing events generated by the LINE Platform.

# Webhook settings

You can configure, test, and get information on channel webhook endpoints.

# Getting content

You can get the content that a user has sent to your LINE Official Account by using the message IDs received via the webhook.

# Channel access token

You can issue, get, or revoke the channel access token required when calling the Messaging API from the app. For more information, see Channel access token in the LINE Platform basics.

# Users

You can get information of users who have added your LINE Official Account as a friend.

Accessing your own user ID

You can access your user ID under the Basic settings tab of your channel on the LINE Developers Console. For more information on permissions per role in the LINE Developers Console, see Channel roles in Managing roles. There is no API available for retrieving your own user ID.

# Bot

You can obtain basic information on the LINE Official Account's bots.


# Group chats

# Multi-person chats

You can obtain information about the multi-person chats and their members that the LINE Official Account is a member of.

You can link the service account provided by the provider (corporate and developer) with the account of the LINE user.

# Message objects

JSON object which contains the contents of the message you send.

# Action objects

These are types of actions for your bot to take when a user taps a button or an image in a message.

# Rich menu structure

Rich menus consist of either of these objects.

Area objects and action objects are included in these objects.