How to publish a bot on LINE

Create your LINE Business account

  • Go to https://manager.line.biz/
  • Log in using the LINE account that you created on your mobile phone.
  • You are redirected to LINE Official Account Manager webpage. Click on the Create LINE official account button.
  • Enter your company information and submit the application for a LINE business account.

Create a LINE Developers account

  • Go to LINE Developers Console.
  • If not already logged in, click Log in with LINE account to log in.
  • Enter Your Name and Your Email
  • Click on the checkbox after referring to the LINE Developers Agreement.
  • Click the Create my account button.

Create a new provider

  • After creating a LINE developer account, the screen shown below will appear. Click the Create a new provider button.
  • Enter a provider name and click Create to confirm.

Create a LINE Messaging API channel

  • Go to the Providers drop-down list in the sidebar.
  • Click on the newly created provider and go to the Channels tab.
  • Click on the Create a Messaging API channel option.
  • Enter the necessary information and click the Create button.
  • Click the OK button in the confirmation popup.

Get Webhook URL and Public Key JSON

  • Log in to the Gupshup website.
  • Go to Dashboard tab > My Bots section.
  • Select the button under the Publish column against the bot you wish to publish.
  • A list of channels will appear. Click on the Publish button against LINE.
  • Scroll down and click Configure the channel.
  • Copy the Webhook URL and the JSON for the Public Key given there.

Configure the channel

  • Go to the channel you created for the bot.
  • Go to the Messaging API tab.
  • Under Webhook settings, click the Edit button in the Webhook URL section.
  • Enter the Webhook URL copied earlier and click Update.
  • Scroll down to the LINE Official Account features section and click Edit against any option.
  • You will be redirected to Response settings on the LINE Official Account Manager website.
  • Under Main settings, disable Greeting messages.
  • Under Detailed settings, disable Auto-response and enable Webhooks.
  • Go to the Basic settings tab.
  • Scroll down and click Register a public key under the Assertion Signing Key section.
  • Enter the JSON for the public key copied earlier and click Register.
  • Copy the KID displayed in the popup for later use.

Submit credentials to Gupshup

To do so, please follow the steps below:

  • Log in to the Gupshup website.
  • Go to Dashboard tab > My Bots section.
  • Select the button under the Publish column against the bot you wish to publish.
  • A list of channels will appear. Click on the Publish button against LINE.
  • Scroll down and click Submit your KID and Channel ID.
  • Enter the KID copied earlier and the Channel ID (which can be found under the Basic Settings tab of the LINE channel).
  • Click Submit.

Supported message types on LINE

  • Text message
  • Sticker message
  • Image message
  • Video message
  • Audio message
  • Location message
  • Imagemap message
  • Template message (Buttons template, Confirm template, Carousel template, Image carousel template)
  • Flex Message

📘

To know more about supported message types, click here.

Regulations & Restrictions

Developer

If one developer already manages 100 Messaging API channels, you cannot add the developer to another Messaging API channel created by another developer.

Provider

  • The provider name is displayed on the user consent screen. The user identifies the service provider based on the provider name. Therefore, provider names should not be temporary names (e.g. brand names used only in your organization, project names, etc.).
  • When you are providing service as a company or organization, create a provider using the name of the company or organization.
  • A channel used by the service provider must be created within the same provider.
  • Each developer can create up to 10 providers. The 11th provider can't be created.

Certified Provider

Once you become a certified provider, you can display your certified provider badge on the consent screen that users review. You can also configure and publish a Provider page. A certified provider badge signifies that LINE has confirmed the authenticity of the service provider that created the provider.
LINE checks the following:

  • Whether the organization is a real entity
  • Whether the application was submitted by someone who belongs to the organization (or a representative)
  • Whether the organization has an established privacy policy that has been disclosed

The certified provider badge can only be displayed by corporate users who have submitted a specified application. If you wish to display a certified provider badge, contact your sales representative, or submit your inquiry to Sales Partners.

🚧

The certified provider badge does not indicate LINE's support or warranty for the service provided by the service provider.

Channel

  • When using the LINE platform for multiple services, don't link the LINE user information obtained from each individual service.
  • "LINE" or a similar string can't be included in the channel name.
  • Developers can own a maximum of 100 channels with an Admin role under one provider, regardless of the channel type.
  • Developers can own a maximum of 100 LINE Official Accounts for each account logged in to the LINE Official Account Manager.
  • If a developer creates a Messaging API channel in the LINE Developers Console, the corresponding LINE Official Account will be automatically created and displayed in the LINE Official Account Manager. If the developer is added as an Admin to a Messaging API channel created by another developer, the corresponding LINE Official Account will be displayed in the LINE Official Account Manager.

Precautions for using a LINE Login channel:

  • Immediately after you create a LINE Login channel, the channel is set to Developing mode.
  • When the channel is set to Developing, only the developers who are registered as the channel Admin or Tester can use LINE Login.
  • To let the end users use LINE Login, set the LINE Login channel to Published.

Precautions for developing services that link multiple channels:

  • When developing a service that links a Messaging API channel with a LINE Login channel, create both channels within the same provider.
  • A LINE user who uses services provided by developers is given a different user ID for each provider. User IDs can't be used to identify the same user across channels under different providers.
  • You can't switch to another provider after creating a channel.

Did this page help you?