LINE
LINE official account: messages, broadcasts and profiles
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Channel access tokenSecretRequired
Where to find them
- At developers.line.biz/console, create (or choose) a provider and a channel of type “Messaging API”.
- On the channel's “Messaging API” tab, scroll down to “Channel access token (long-lived)” and click “Issue”.
- Copy the token. Push messages and broadcasts count toward the monthly quota of your official account, which is limited on the free plan.
Tools (2)
LINE API request
LINE_SEND_REQUESTAuthenticated call to the LINE API (https://api.line.me/v2/bot). Any endpoint of the API is allowed. Examples: GET /info, GET /message/quota, GET /profile/{userId}, POST /message/push {"to": "U…", "messages": [{"type": "text", "text": "…"}]}, POST /message/reply {"replyToken": "…", "messages": […]}. To download content: GET https://api-data.line.me/v2/bot/message/{messageId}/content.
Required scopes
No scopes required
Input
LINE API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Send a message
LINE_SEND_MESSAGESends a text (push) message to a user, group or room that follows the official account. Counts toward the monthly quota.
Required scopes
No scopes required
Input
Send a message input Name Type Description torequiredstringUser ID (U…), group ID (C…) or room ID (R…) textrequiredstring

