Skip to main content

Line Token

Description#

General#

  • Documentation: https://developers.line.biz/en/docs/messaging-api/overview/
  • Summary: Line is a free application for instant communications and VoIP. The Line API is an HTTP based API that gives access to various data on the Line platform, and allows to post messages using channel access tokens.
  • IPs allowlist: This feature is not supported.
  • Scopes: A channel access token is associated with one channel id and its permissions are restricted to this channel. Some tokens allow to send notifications, see documentation for more information.

Revoke the secret#

A token can be revoked using the API, and authenticating with the root credentials of the account (client_id and client_secret).

Check for suspicious activity#

This feature is not supported.

Details for Line messaging api#

  • Category: Messaging system

  • Company: Line

  • High recall: True

  • Validity check available: True

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 16.13

  • Prefixed: True

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^lock$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - w1cdnyilfu=

Examples#

- text: >    curl -v -X POST https://api.line.me/v2/bot/message/push \    -H 'Content-Type:application/json' \    -H 'Authorization: Bearer 90ITTbG+j0TfDtuJoIWKRvPhpDnqYUaaSlOilnoy0urLE+kbf5hN4HUf5pSPw20ruyO0VgGG6IDjnvojctp5emFw0hZ51WxV8c35qo48upJInfmqDQ1xrFd4yGKvwx4yRVHYXmI/GyrtcWKd0GBoBAdB04t89/1O/w1cDnyilFU='  apikey: 90ITTbG+j0TfDtuJoIWKRvPhpDnqYUaaSlOilnoy0urLE+kbf5hN4HUf5pSPw20ruyO0VgGG6IDjnvojctp5emFw0hZ51WxV8c35qo48upJInfmqDQ1xrFd4yGKvwx4yRVHYXmI/GyrtcWKd0GBoBAdB04t89/1O/w1cDnyilFU=

Details for Line notify token#

  • Category: Messaging system

  • Company: Line

  • High recall: False

  • Validity check available: True

  • Only valid secrets raise an alert: True

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 1.0

  • Prefixed: False

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^lock$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - line- type: ContentWhitelistPreValidator  patterns:  - secret  - token- type: ContentWhitelistPreValidator  patterns:  - '[a-z0-9]{43}'

Examples#

- text: |    line.bot:    -  channel-token: 'X19NG51BI5J6ANMAZgjg2hfwWf4kL6PqPweTgG3EVkw'  apikey: X19NG51BI5J6ANMAZgjg2hfwWf4kL6PqPweTgG3EVkw