Creating a LINE Official Account

To get started with LINE messaging using SMS-Magic, follow the below steps:

  • First, create a LINE account through a mobile app
  • If you already have a LINE account, skip to Enabling the LINE Messaging API
  • After having signed up with your phone number, you have two options to login; either activate your account using email registration or login using the QR code supplied by LINE.” 
  • Go to the settings (see screenshot below) > account and click on “Email registration”
  • Enter your email address and password and click on the “Register” button
  • LINE will send you an email to confirm your registration
Creating Official Line Account

Enabling the LINE Messaging API

Enabling the LINE Messaging API

Login to the LINE developers console using your LINE credentials and follow the below steps. 

  • Create a Line channel of type ‘messaging API’ and connect it with SMS-Magic – Requires all steps
  • Use an already created channel of type messaging API and connect it with SMS-Magic – You can directly start from step 6 if you are planning to use the existing created channel of type ‘Messaging API’.
  1. Click on the ”+ Create New Provider” button. A provider acts as a container of LINE apps.
Create New Provider
  1. Enter the required details and click on the “Create” button
provider doesn't have any channel
  1. Next, select “Create Channel” for the Messaging API option
  2. Fill in these details for your new LINE app. These details will be visible to end-users as your business profile information.
Create Channel
Create channel2
Create channel 3
  1. Next, review the Terms of Use, click to accept them, and then click on the “Create” button
Terms of use URL
  1. Now select your newly created app/provider
Select Newly Created Provider
  1. The Messaging API section displays your channel Bot ID as shown below. LINE recipients can search for your business channels with this ID.
Messaging API Settings
  1. Among the options locate the “Messaging API” section and then issue a “Channel access token” by clicking on the ‘Issue’ button
Channel Access Token
Channel Access Token Value
  1. Next, enable the use of webhooks by adding the webhook URL in Webhook settings under the ‘Messaging API’ section.
    US Webhook URL: https://api.sms-magic.com/messages/incoming/line
    Australia Webhook URL: https://aus-api.sms-magic.com/messages/incoming/line
    Europe Webhook URL: https://eu.api.sms-magic.com/messages/incoming/line
Webhook Settings
  1. Once the Webhook URL is added, click on verify and it should give you a successful  response
Verify Webhook URL
Webhook Verification Success
  1. After that enable the Webhook URL using the toggle button given
  Enable Webhook
  1. In the ‘Messaging API section, disable the LINE official account features such as Allow Bot to join group chats, Auto-reply messages, and Greeting messages.
Line Official Messaging features
  1. Click on the Edit option which will take you to the ‘LINE official account manager console
Edit Option Clicked
Detailed Settings
  1. Verify that LINE official account features such as Allow Bot to join group chats, Auto-reply messages, and Greeting messages are disabled.
Line Official Messaging features
  1. You are now ready to connect your LINE messaging account with SMS-Magic. Follow the next steps to send your first LINE message.

Getting the Sender ID configured with SMS-Magic Account

  • You need to share the following information with the SMS-Magic support team and they can complete the account level configurations.
    • Channel Access Token
    • Channel Secret
    • Bot ID
  • Your LINE channel Bot ID will act as a Sender ID into SMS-Magic. Once the account level configurations are done, you will be able to see the LINE Sender ID getting synced in your Sender ID assignment section under converse settings.
SenderID Assignment
  • Once any user follows/initiates a chat with your LINE Business channel, the message will get synced to your Salesforce org in the SMS History object and in the converse desk UI along with the recipient’s unique Subscriber ID.
Line Messaging Inbox
  • You can now send your first LINE Message to this recipient using your channel Bot ID as Sender ID and recipient ID as subscriber ID. The message will be delivered to the subscriber as a message sent from your LINE business channel which is connected with SMS-Magic