Using the LINE URL scheme

The LINE URL scheme enables deep linking to redirect users to specific content or to perform specific actions in the LINE app. The URL schemes are supported on the iOS and Android versions of the LINE app. You can use URL schemes in web or mobile apps and in bot applications.

The basic URL scheme for the LINE app is line://. Alternatively, schemes can start with https://line.me/R/. If a user has the LINE app installed, the app is automatically launched and the user is redirected to the specified content. If the user does not have the LINE app installed, the behavior depends on the format of the URL scheme as shown below.

  • line://: Nothing happens or user is redirected to an error page.
  • https://line.me/R/: A web browser is opened with a prompt for the user to download the LINE app.

The URL schemes can be used with a bot application within the LINE app. For example, you can redirect users to content in the LINE app using template messages, imagemap messages, and rich menus by including URL schemes in URI action objects.

The following is a list of the available URL schemes for the LINE app.

Opening the camera and camera roll

Redirect users to the camera and camera roll screens.

Camera screen Camera roll

Scheme Description
line://nv/camera/ Opens the camera screen.
line://nv/cameraRoll/single Opens the "Camera Roll" screen where users can select one image to share in the chat.
line://nv/cameraRoll/multi Opens the "Camera Roll" screen where users can select multiple images to share in the chat.

Opening the location screen

Redirect users to the "Location" screen where they can share location information with your bot.

Location screen

Scheme Description
line://nv/location Opens the "Location" screen. Users can share the current location or drop a pin on the map to select the location they want to share.
Note: This scheme is only supported in one-on-one chats between a user and a bot (LINE@ account). Not supported on external apps or other types of LINE chats.

Sharing your bot account

Share and promote your bot (LINE@ account) by redirecting users to the "Add friend" screen for your bot. You can also let users share a link to your bot with their LINE friends.

Bot screen Bot add friend

Scheme Description
line://ti/p/{LINE_id} Opens one of the following screens depending on the user's friendship status with the bot.
  • Friend of bot: Opens the chat with the bot.
  • Not a friend or blocked by user: Opens the "Add friend" screen for your bot.
Find the LINE ID of your bot on the LINE@ Manager. Make sure you include the "@" symbol in the LINE ID.
line://nv/recommendOA/{LINE_id} Opens the "Share with" screen where users can select friends, groups, or chats to share a link to your bot.
Find the LINE ID of your bot on the LINE@ Manager. Make sure you include the "@" symbol in the LINE ID.

Opening your bot Timeline and account page

Redirect users to your bot's Timeline screen or account page. To customize the account page for your bot and to make Timeline posts, use the LINE@ Manager.

Bot timeline

Scheme Description
line://home/public/main?id={LINE_id_without_@} Opens the Timeline screen for your bot.
Note: Do not include the "@" symbol in the LINE ID. Find the LINE ID of your bot on the LINE@ Manager.
line://home/public/profile?id={LINE_id_without_@} Opens the account page for your bot.
Note: Do not include the "@" symbol in the LINE ID. Find the LINE ID of your bot on the LINE@ Manager.
line://home/public/post?id={LINE_id_without_@}&postId={post_id} Opens a specific Timeline post for your bot. You can find the post ID of individual posts in the "Timeline (Home)" section of the LINE@ Manager.
Note: Do not include the "@" symbol in the LINE ID. Find the LINE ID of your bot on the LINE@ Manager.

Sending text messages

Set text messages that users can send to their friends or to your bot. Enter your text message as a path or query parameter in the scheme. Make sure that your parameters are URL encoded in UTF-8.

Scheme Description
line://msg/text/?{text_message} Opens the "Share with" screen where users can select friends, groups, or chats to send a preset text message. Users can also post the message as a note in a chat or post the message to Timeline.
line://oaMessage/{LINE_id}/?{text_message} Opens a chat screen with the bot account with a preset text message that the user can send to your bot.
Find the LINE ID of your bot on the LINE@ Manager. Make sure you include the "@" symbol in the LINE ID.

Opening profile information

My profile screen

Redirect users to their "My profile" screens. From this screen, users can update their display names and status messages, set their LINE IDs and check various LINE profile information.

Scheme Description
line://nv/profile Opens the "My profile" screen.
line://nv/profileSetId Opens the "LINE ID" screen where users can set a LINE ID if they have not already done so.

Opening common LINE app screens

Redirect users to various screens in the LINE app.

More screen

Scheme Description
line://nv/chat Opens the "Chats" screen.
line://nv/timeline Opens the "Timeline" screen.
line://nv/more Opens the More screen. This is the screen that is opened when the tab on the furthest right is tapped. The More tab may be represented by either the "More" label or the "..." icon depending on the user's theme.
line://nv/addFriends Opens the "Add friends" screen.
line://nv/officialAccounts Opens the "Official Accounts" screen.

Opening LINE app settings screens

Redirect users to various screens in the "Settings" section of the LINE app.

Settings screen

Scheme Description
line://nv/settings Opens the "Settings" screen.
line://nv/settings/account Opens the "Account" settings screen. Displays the user's LINE account information.
line://nv/connectedApps Opens the "Authorized apps" screen in the "Account" settings screen. Users can see the permissions granted to authorized apps and deauthorize apps from this screen.
line://nv/connectedDevices Opens the "Devices" screen in the "Account" settings screen.
line://nv/settings/privacy Opens the "Privacy" screen.
line://nv/settings/addressBookSync Opens the "Friends" settings screen.
line://nv/settings/sticker Opens the "Stickers" settings screen.
line://nv/stickerShop/mySticker Opens the "My Stickers" screen in the "Stickers" settings screen.
line://nv/themeSettingsMenu (iOS), line://nv/settings/theme (Android) Opens the "Themes" settings screen.
Note: The schemes for iOS and Android are different.
line://nv/themeSettings Opens the "My Themes" screen in the "Themes" settings screen.
line://nv/notificationServiceDetail Opens the "Authorized apps" screen in the "Notification" settings. Users can configure notification settings for authorized apps in this screen.
line://nv/settings/chatSettings Opens the "Chats" settings screen.
line://nv/suggestSettings Opens the "Display suggestions" settings screen. This screen is in the "Chats" settings screen.
line://nv/settings/callSettings Opens the "Calls" settings screen.
line://nv/settings/timelineSettings Opens the "Timeline" settings screen.

Opening the Sticker Shop

Redirect users to the Sticker Shop section of the LINE app. You can redirect users to official or creators' sticker sets. If you are interested in creating your own sticker sets for users, take a look at the LINE Creators Market site and the LNE Creators Studio app.

Sticker Shop screen

Official stickers

Scheme Description
line://shop/sticker/detail/{package_id} Opens the "Sticker set info" screen for a specified sticker set. Find the "package ID" in the URL of sticker set pages in the "Official stickers" section of the LINE STORE.
line://shop/category/{category_id} Opens the "RANK" tab for a specified category. Find the "category ID" in the URL of category pages in the "Official stickers" section of the LINE STORE.
line://shop/sticker/author/{author_id} Opens a list of sticker sets from a specified author. Find the "author ID" in the URL of author pages in the "Official stickers" section of the LINE STORE.
line://nv/stickerShop Opens the "HOME" tab in the "Sticker Shop" screen.
line://shop/sticker/new Opens the "NEW" tab in the "Sticker Shop" screen.
Note: Not supported on Android.
line://shop/sticker/hot Opens the "RANK" tab in the "Sticker Shop" screen.
Note: Not supported on Android.
line://shop/sticker/event Opens the "FREE" tab in the "Sticker Shop" screen.
Note: Not supported on Android.
line://shop/sticker/category Opens the "CATEGORIES" tab in the "Sticker Shop" screen.
Note: Not supported on Android.

Creators stickers

Scheme Description
line://S/sticker/{package_id} Opens the "Sticker set info" screen for a specified creators' sticker set. Find the "package ID" in the URL of sticker set pages in the "Creators' stickers" section of the LINE STORE.
line://S/shop/sticker/author/{author_id} Opens a list of creators' sticker sets from a specified author. Find the "author ID" in the URL of author pages in the "Creators' stickers" section of the LINE STORE.

Opening the Theme Shop

Redirect users to specific themes in the Theme Shop section of the LINE app. Use query parameters in the URL schemes to specify the ID of the theme.

Theme Shop screen

Scheme Description
line://shop/theme/detail?id={product_id} Opens the "Theme info" screen for a specified official theme in the Theme Shop. Find the "product ID" in the URL of the theme page in the "Official themes" section of the LINE STORE.
line://S/shop/theme/detail?id={product_id} Opens the "Theme info" screen for a specified creators' theme in the Theme Shop. Find the "product ID" in the URL of the theme page in the "Creators' themes" section of the LINE STORE.

Making phone calls with LINE Out

LINE Out is a service that lets users make phone calls on LINE. You can redirect users to the LINE Out screens with a phone number set as a path parameter.

Note: LINE Out is not available in all countries. For more information, see the LINE Out How to Use page.

LINE Out dial pad screen

Scheme Description
line://call/{country_calling_code}/{phone_number}  Opens the "LINE Out" dial pad screen with a preset phone number. Specify the country calling code and the phone number as path parameters. Do not include the "+" symbol in the URL. For example, line://call/81/1022223333 sets the country calling code to "+81" and the local phone number to "1022223333".
line://calls Opens the "Calls" screen of LINE Out.
line://call/dialpad  Opens the "LINE Out" dial pad screen.
line://call/settings Opens the "LINE Out Settings" screen.
line://call/contacts Opens the "Contacts" screen.
line://call/spot Opens the "Spots" screen. The "Spots" screen displays a map where users can search for information on nearby landmarks.
Note: Not supported on Android.
line://call/redeem Opens the "Redeem for LINE Out Credit" screen.