LINE Insight API
This document describes LINE Messaging API(Insight).
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
This document describes LINE Messaging API(Insight).
Endpoints 7
insight
- GETgetFriendsDemographics
/v2/bot/insight/demographicRetrieves the demographic attributes for a LINE Official Account's friends.You can only retrieve information about friends for LINE Official Accounts created… - GETGet number of message deliveries
/v2/bot/insight/message/delivery?date=stringReturns the number of messages sent from LINE Official Account on a specified day. - GETGet number of followers
/v2/bot/insight/followersReturns the number of users who have added the LINE Official Account on or before a specified date. - GETGet user interaction statistics
/v2/bot/insight/message/event?requestId=stringReturns statistics about how users interact with narrowcast messages or broadcast messages sent from your LINE Official Account. - GETgetStatisticsPerUnit
/v2/bot/insight/message/event/aggregation?customAggregationUnit=string&from=20210301&to=20210301You can check the per-unit statistics of how users interact with push messages and multicast messages sent from your LINE Official Account. - GETGet rich menu insight summary
/v2/bot/insight/richmenu/:richMenuId/summary?from=20260213&to=20260215Gets a summary of rich menu statistics for the specified period, for a rich menu created via the Messaging API. Returns the total impression count for the… - GETGet rich menu insight daily
/v2/bot/insight/richmenu/:richMenuId/daily?from=20260213&to=20260215Gets rich menu statistics broken down by day for the specified period, for a rich menu created via the Messaging API. Returns the daily impression count for…
API details
- Base URL
https://api.line.me- Authentication
- A bearer token in the Authorization header
- Operations
- 7 operations on 7 pathsGET 7
- Main resources
- insight 7
- Response formats
application/json- Description format
- OpenAPI 3.0.0, API version
0.0.1 - Links
- OpenAPI document
- Listed from
- LINE's published OpenAPI description (line/line-openapi) (Apache-2.0)
How to test the LINE Insight API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the LINE Insight API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “getFriendsDemographics” (GET /v2/bot/insight/demographic), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the LINE Insight API?
This document describes LINE Messaging API(Insight). It is listed under Communication and has 7 endpoints.
Who publishes the LINE Insight API?
It is listed from Line's public API description (an OpenAPI document), not published by Line on Swastik Codes. Anyone who controls line.biz can claim the profile by adding a DNS TXT record.
What is the base URL of the LINE Insight API?
Requests go to https://api.line.me. Endpoint paths are added to this base URL.
How do I authenticate with the LINE Insight API?
With A bearer token in the Authorization header.
How many endpoints does the LINE Insight API have?
7 operations on 7 paths (7 GET). The largest groups are insight.
Is forking the LINE Insight API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.