App Link (Universal Link)

    You can use App Link (Universal Link) to run the LINE WORKS app and to perform the main features.

    1. Syntax

    The syntax of a custom App Link (Universal Link) is as follows:

    https://line.worksmobile.com/{host}/{path..}?version={link_version}?{parameter1=values1}&{parameter2=values2}...

    Host, Path and Parameter

    Pass the following items in your custom App Link (Universal Link).

    Item Description
    host Name of the service for which you want to perform features by using the custom App Link (Universal Link).

    ● default: LINE WORKS app
    ● message: Message
    ● calendar: Calendar
    ● contact: Contact
    ● drive: Drive
    ● home: Board
    ● mail: Mail
    ● more: View more
    path Defines the detailed feature in the service.
    version={link_version} Custom App Link (Universal Link) version

    ● 18: Supports App Version 3.0.
    {parametar1=values1} Defines information to be passed when you perform features with the App Link (Universal Link).

    2.1. Run the LINE WORKS App

    Runs the LINE WORKS mobile app.

    run_lw_app

    App Link (Universal Link) Description
    https://line.worksmobile.com/default?version={link_verion} Runs the LINE WORKS app.

    2.2. Run the LINE WORKS App with a Specific Page Open

    Runs the LINE WORKS mobile app to open a specific service tab.

    run_lw_app_with_opening_specific_page

    App Link (Universal Link) Description
    https://line.worksmobile.com/calendar?version={link_version} Runs the LINE WORKS mobile app with the Calendar tab open.
    https://line.worksmobile.com/contact?version={link_version} Runs the LINE WORKS mobile app with the Contact tab open.
    https://line.worksmobile.com/drive?version={link_version} Runs the LINE WORKS mobile app with the Drive tab open.
    https://line.worksmobile.com/home?version={link_version} Runs the LINE WORKS mobile app with the Board tab open.
    https://line.worksmobile.com/mail?version={link_version} Runs the LINE WORKS mobile app with the Mail tab open.
    https://line.worksmobile.com/message?version={link_version} Runs the LINE WORKS mobile app or PC web with the Message tab open.
    https://line.worksmobile.com/more?version={link_version} Runs the LINE WORKS mobile app with the View more tab open.

    2.3. Send Messages

    Runs the LINE WORKS mobile app or PC web based on the environment where the LINE WORKS URL is opened, and sends messages to the chatroom with the specified recipients included.
    If one recipient is specified, a 1:1 chatroom is created and if multiple recipients are specified, a 1:N chatroom is created. If a chatroom with the specified recipients already exists, the message is sent to the chatroom.

    send_message

    App Link (Universal Link) Description
    https://line.worksmobile.com/message/send?version={link_version}&message={message}&emailList={email_Address_List}&callbackMainYn={Y/N} Sends the message to the chatroom with the specified emailAddress list.

    2.3.1 Parameter

    Parameter Required Description Note
    version Y App Link (Universal Link) version
    message N Message to send
    emailList N List of user email addresses or group email addresses to receive messages (add ; to separate them).
    If this parameter is not specified, the app shows the menu to select recipients.
    worksAtResourceIdList N List of Resource IDs of external contacts to receive messages (add ; to separate them).
    callbackMainYn N Indicates whether the LINE WORKS app's main screen is displayed when the chatroom is closed.
    ● Y: The main screen is displayed (default).
    ● N: The main screen is not displayed.
    Android only

    2.3.2 Example

    App Link (Universal Link) Description
    https://line.worksmobile.com/message/send?version={link_version}&message={message}&emailList={emailAddressList} Sends {message} to the chatroom with {emailAddressList}.

    2.4. Create Events

    Creates an event on the LINE WORKS mobile app.

    write_schedule

    App Link (Universal Link) Description
    https://line.worksmobile.com/calendar/event/write?version={link_version}&content={contents}&scheduletype={schedule_type}&startdate={start_date}&invitees={invitees}&memo={memo} Creates a {schedule_type} event which starts on {start_date} and is attended by {invitees}, with the subject of {contents}. {memo} is also included.

    2.4.1 Parameter

    Parameter Required Description Note
    version Y App Link (Universal Link) Version
    content N Event subject
    scheduletype N Event type

    ● 2: All day
    ● 3: Default event
    startdate N Date and time

    ● yyyy-MM-dd: Date type
    ● yyyy-MM-ddTHH:mm:ss: Date and time type
    ● yyyy-MM-ddTHH:mm:ssZ: Date and time type
    For date and time types, an event for an hour from the current time is created.
    For the date and time type without Z, the local timezone is used.
    invitees N List of participants' email addresses (add , to separate them)

    ● mailto:attendeetype:name:{name_value}"{attendeetype_value}:{mailto_value}
    "mailto" is required.
    attendeetype: Indicates whether the attendee is required for the event.
    (0: Required (default), 1: Optional)
    memo N Memo  

    2.4.2 Example

    App Link (Universal Link) Description
    https://line.worksmobile.com/calendar/write?version={link_version}&scheduletype={schedule_type}&content={contents}&startdate={start_date}&invitees={invitees} Creates a {schedule_type} event which starts on {start_date} and is attended by {invitees}, with the subject of {contents}.