How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LINE Messaging API

The messaging-api API from LINE — 61 operation(s) for messaging-api.

LINE Messaging API is one of 12 APIs that LINE publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Messaging API. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, an AsyncAPI specification, and authentication docs.

This API exposes 68 operations across 61 paths, and defines 84 schemas. It is described by OpenAPI 3.2.0, at version 0.0.1.

Requests are made against a single base URL, https://api.line.me.

68 operations 61 paths 84 schemas 4 DELETE33 GET29 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.0.1
Base URL
https://api.line.me
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

LINE Messaging API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (Bearer). By default, every request must be authenticated.

  • Bearer — Channel access token

Paths & Operations 68

Across 61 paths, the API surfaces 68 operations — 4 DELETE, 33 GET, 29 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Messaging API 68
GET
/v2/bot/channel/webhook/endpoint
Get webhook endpoint
getWebhookEndpoint → 200
PUT
/v2/bot/channel/webhook/endpoint
Set webhook endpoint
setWebhookEndpoint body → 200
POST
/v2/bot/channel/webhook/test
Test webhook endpoint
testWebhookEndpoint body → 200
POST
/v2/bot/message/reply
Reply message
replyMessage body → 200400429
POST
/v2/bot/message/push
Push message
pushMessage 1 param body → 200400403409429
POST
/v2/bot/message/multicast
Multicast
multicast 1 param body → 200400403409429
POST
/v2/bot/message/narrowcast
Narrowcast
narrowcast 1 param body → 202400403409429
GET
/v2/bot/message/progress/narrowcast
Get narrowcast progress
getNarrowcastProgress 1 param → 200
POST
/v2/bot/message/broadcast
Broadcast
broadcast 1 param body → 200400403409429
GET
/v2/bot/message/quota
Get message quota
getMessageQuota → 200
GET
/v2/bot/message/quota/consumption
Get message quota consumption
getMessageQuotaConsumption → 200
GET
/v2/bot/message/delivery/reply
Get number of sent reply messages
getNumberOfSentReplyMessages 1 param → 200
GET
/v2/bot/message/delivery/push
Get number of sent push messages
getNumberOfSentPushMessages 1 param → 200
GET
/v2/bot/message/delivery/multicast
Get number of sent multicast messages
getNumberOfSentMulticastMessages 1 param → 200
GET
/v2/bot/message/delivery/broadcast
Get number of sent broadcast messages
getNumberOfSentBroadcastMessages 1 param → 200
POST
/v2/bot/message/validate/reply
Validate reply
validateReply body → 200
POST
/v2/bot/message/validate/push
Validate push
validatePush body → 200
POST
/v2/bot/message/validate/multicast
Validate multicast
validateMulticast body → 200
POST
/v2/bot/message/validate/narrowcast
Validate narrowcast
validateNarrowcast body → 200
POST
/v2/bot/message/validate/broadcast
Validate broadcast
validateBroadcast body → 200
GET
/v2/bot/message/aggregation/info
Get aggregation unit usage
getAggregationUnitUsage → 200
GET
/v2/bot/message/aggregation/list
Get aggregation unit name list
getAggregationUnitNameList 2 params → 200
GET
/v2/bot/profile/{userId}
Get profile
getProfile 1 param → 200
GET
/v2/bot/followers/ids
Get followers
getFollowers 2 params → 200
GET
/v2/bot/info
Get bot info
getBotInfo → 200
GET
/v2/bot/group/{groupId}/member/{userId}
Get group member profile
getGroupMemberProfile 2 params → 200
GET
/v2/bot/room/{roomId}/member/{userId}
Get room member profile
getRoomMemberProfile 2 params → 200
GET
/v2/bot/group/{groupId}/members/ids
Get group members ids
getGroupMembersIds 2 params → 200
GET
/v2/bot/room/{roomId}/members/ids
Get room members ids
getRoomMembersIds 2 params → 200
POST
/v2/bot/group/{groupId}/leave
Leave group
leaveGroup 1 param → 200400404
POST
/v2/bot/room/{roomId}/leave
Leave room
leaveRoom 1 param → 200
GET
/v2/bot/group/{groupId}/summary
Get group summary
getGroupSummary 1 param → 200
GET
/v2/bot/group/{groupId}/members/count
Get group member count
getGroupMemberCount 1 param → 200
GET
/v2/bot/room/{roomId}/members/count
Get room member count
getRoomMemberCount 1 param → 200
POST
/v2/bot/richmenu
Create rich menu
createRichMenu body → 200
POST
/v2/bot/richmenu/validate
Validate rich menu object
validateRichMenuObject body → 200
GET
/v2/bot/richmenu/{richMenuId}
Get rich menu
getRichMenu 1 param → 200
DELETE
/v2/bot/richmenu/{richMenuId}
Delete rich menu
deleteRichMenu 1 param → 200
GET
/v2/bot/richmenu/list
Get rich menu list
getRichMenuList → 200
POST
/v2/bot/user/all/richmenu/{richMenuId}
Set default rich menu
setDefaultRichMenu 1 param → 200
GET
/v2/bot/user/all/richmenu
Get default rich menu id
getDefaultRichMenuId → 200
DELETE
/v2/bot/user/all/richmenu
Cancel default rich menu
cancelDefaultRichMenu → 200
POST
/v2/bot/richmenu/alias
Create rich menu alias
createRichMenuAlias body → 200400
GET
/v2/bot/richmenu/alias/{richMenuAliasId}
Get rich menu alias
getRichMenuAlias 1 param → 200
POST
/v2/bot/richmenu/alias/{richMenuAliasId}
Update rich menu alias
updateRichMenuAlias 1 param body → 200400
DELETE
/v2/bot/richmenu/alias/{richMenuAliasId}
Delete rich menu alias
deleteRichMenuAlias 1 param → 200400
GET
/v2/bot/richmenu/alias/list
Get rich menu alias list
getRichMenuAliasList → 200
GET
/v2/bot/user/{userId}/richmenu
Get rich menu id of user
getRichMenuIdOfUser 1 param → 200
DELETE
/v2/bot/user/{userId}/richmenu
Unlink rich menu id from user
unlinkRichMenuIdFromUser 1 param → 200
POST
/v2/bot/user/{userId}/richmenu/{richMenuId}
Link rich menu id to user
linkRichMenuIdToUser 2 params → 200
POST
/v2/bot/richmenu/bulk/link
Link rich menu id to users
linkRichMenuIdToUsers body → 202
POST
/v2/bot/richmenu/bulk/unlink
Unlink rich menu id from users
unlinkRichMenuIdFromUsers body → 202
POST
/v2/bot/richmenu/batch
Rich menu batch
richMenuBatch body → 202
POST
/v2/bot/richmenu/validate/batch
Validate rich menu batch request
validateRichMenuBatchRequest body → 200
GET
/v2/bot/richmenu/progress/batch
Get rich menu batch progress
getRichMenuBatchProgress 1 param → 200
POST
/v2/bot/user/{userId}/linkToken
Issue link token
issueLinkToken 1 param → 200
POST
/v2/bot/message/markAsRead
Mark messages as read
markMessagesAsRead body → 200
POST
/bot/pnp/push
Push messages by phone
pushMessagesByPhone 1 param body → 200422
GET
/v2/bot/message/delivery/pnp
Get PNP message statistics
getPNPMessageStatistics 1 param → 200
GET
/v2/bot/membership/subscription/{userId}
Get membership subscription
getMembershipSubscription 1 param → 200400404
GET
/v2/bot/membership/list
Get membership list
getMembershipList → 200404
GET
/v2/bot/membership/{membershipId}/users/ids
Get joined membership users
getJoinedMembershipUsers 3 params → 200400404
GET
/v2/bot/coupon
List coupon
listCoupon 3 params → 200400
POST
/v2/bot/coupon
Create coupon
createCoupon body → 200400
GET
/v2/bot/coupon/{couponId}
Get coupon detail
getCouponDetail 1 param → 200400404
PUT
/v2/bot/coupon/{couponId}/close
Close coupon
closeCoupon 1 param → 200400404410
POST
/v2/bot/chat/loading/start
Show loading animation
showLoadingAnimation body → 202400
POST
/v2/bot/chat/markAsRead
Mark messages as read by token
markMessagesAsReadByToken body → 200400

Schemas 84

The contract defines 84 schemas that model the data the API accepts and returns. The most detailed are CouponResponse (18 properties), CouponCreateRequest (13 properties), Membership (10 properties), NarrowcastProgressResponse (8 properties). Each schema is shown below with its type and property counts.

ShowLoadingAnimationResponse
object
RichMenuArea
object
Rich menu area
2 properties
AcquisitionConditionRequest
object
1 property 1 required
RichMenuBatchProgressResponse
object
3 properties 2 required
NarrowcastRequest
object
5 properties 1 required
Sender
object
Change icon and display name
2 properties
GetMembershipSubscriptionResponse
object
A user's membership subscription status
1 property 1 required
ReplyMessageRequest
object
3 properties 2 required
RichMenuAliasListResponse
object
1 property 1 required
SetWebhookEndpointRequest
object
1 property 1 required
Membership
object
10 properties 10 required
AcquisitionConditionResponse
object
1 property 1 required
RichMenuAliasResponse
object
2 properties 2 required
RoomMemberCountResponse
object
1 property 1 required
MarkMessagesAsReadByTokenRequest
object
1 property 1 required
RichMenuBulkUnlinkRequest
object
1 property 1 required
NumberOfMessagesResponse
object
2 properties 1 required
GroupUserProfileResponse
object
3 properties 2 required
SubscribedMembershipUser
object
Object containing user membership subscription information.
4 properties 4 required
QuickReplyItem
object
3 properties
CreateRichMenuAliasRequest
object
2 properties 2 required
GetJoinedMembershipUsersResponse
object
List of users who have joined the membership
2 properties 1 required
MembershipListResponse
object
List of memberships
1 property 1 required
UserProfileResponse
object
5 properties 2 required
CouponListResponse
object
Summary information about a coupon, used in coupon lists.
2 properties 2 required
CouponRewardRequest
object
1 property 1 required
GetAggregationUnitUsageResponse
object
1 property 1 required
GroupSummaryResponse
object
3 properties 2 required
MessageQuotaResponse
object
2 properties 1 required
TestWebhookEndpointResponse
object
5 properties 4 required
RichMenuBatchOperation
object
Rich menu operation object represents the batch operation to the rich menu linked to the user.
1 property 1 required
MulticastResponse
object
MessagingApiPagerCouponListResponse
object
Paginated response object containing a list of coupons.
2 properties 1 required
NotificationDisabled
boolean
true: The user doesn’t receive a push notification when a message is sent. false: The user receives a push notification when the message is sent (unless they h…
RoomUserProfileResponse
object
3 properties 2 required
BroadcastRequest
object
2 properties 1 required
GetFollowersResponse
object
2 properties 1 required
MulticastRequest
object
4 properties 2 required
BotInfoResponse
object
7 properties 5 required
RichMenuBatchProgressPhase
string
The current status. One of: ongoing: Rich menu batch control is in progress. succeeded: Rich menu batch control is complete. failed: Rich menu batch control fa…
CouponCreateRequest
object
Request object for creating a coupon. Contains all configurable coupon properties.
13 properties 7 required
ErrorResponse
object
3 properties 1 required
RichMenuSize
object
Rich menu size
2 properties
GetWebhookEndpointResponse
object
2 properties 2 required
CouponCreateResponse
object
Response object returned after creating a coupon. Contains the coupon ID.
1 property 1 required
ShowLoadingAnimationRequest
object
2 properties 1 required
Limit
object
Limit of the Narrowcast
3 properties
RichMenuBulkLinkRequest
object
2 properties 2 required
ChatReference
object
Chat reference
1 property 1 required
SentMessage
object
2 properties 1 required
IssueLinkTokenResponse
object
1 property 1 required
NarrowcastProgressResponse
object
8 properties 2 required
MarkMessagesAsReadRequest
object
1 property 1 required
Message
object
3 properties 1 required
DemographicFilter
object
Demographic filter
1 property
RichMenuListResponse
object
1 property 1 required
MembersIdsResponse
object
2 properties 1 required
GroupMemberCountResponse
object
1 property 1 required
TestWebhookEndpointRequest
object
1 property
RichMenuBounds
object
Rich menu bounds
4 properties
ErrorDetail
object
2 properties
CouponResponse
object
Detailed information about a coupon, including all properties and current status.
18 properties
QuickReply
object
Quick reply
1 property
Subscription
object
An array of memberships.
2 properties 2 required
SubscribedMembershipPlan
object
Object containing information about the membership plan.
6 properties 6 required
QuotaType
string
One of the following values to indicate whether a target limit is set or not.
BroadcastResponse
object
RichMenuBatchRequest
object
2 properties 1 required
UpdateRichMenuAliasRequest
object
1 property 1 required
RichMenuIdResponse
object
1 property 1 required
PushMessageResponse
object
1 property 1 required
Recipient
object
Recipient
1 property
Filter
object
Filter for narrowcast
1 property
ValidateMessageRequest
object
1 property 1 required
RichMenuRequest
object
5 properties
NarrowcastResponse
object
PushMessageRequest
object
4 properties 2 required
ReplyMessageResponse
object
1 property 1 required
PnpMessagesRequest
object
3 properties 2 required
GetAggregationUnitNameListResponse
object
2 properties 1 required
Action
object
Action
2 properties
CouponRewardResponse
object
1 property 1 required
RichMenuResponse
object
6 properties 6 required
QuotaConsumptionResponse
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

line-messaging-api-api-openapi.yml Raw ↑

Other APIs LINE publishes across the network.

LINE Login v2.1
LINE Channel Access Token API
LINE Dummy API
LINE Insight API
LINE Liff API
LINE Module API
LINE Module Attach API
LINE Manage Audience API
LINE Manage Audience Blob API
LINE Messaging API Blob API
LINE Shop API
Where this information came from

This is an independent, third-party profile of LINE Messaging API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.