Skip to main content
LINE Messenger Endpoint logo
The LINE Endpoint enables you to connect your AI Agent to the LINE platform.

Prerequisites

Restrictions

  • The LINE Messaging API requires you to follow rules that might block some messages. Check your Node settings with the Line Messaging API requirements to ensure all messages are delivered.

Generic endpoint settings

Override snapshot connections

If you activate the Override Snapshot Connections toggle, the endpoint overrides the connections in the snapshot with connections from the project. If only the snapshot has a connection, the connection isn’t overridden. If necessary, you need to update such connections manually. To override the connection of the agent in production, you can:
  • Make the necessary changes in a staging environment, create a snapshot of the same agent, and select the snapshot in the endpoint settings. Deactivate the Override Snapshot Connections toggle.
  • Import connections from another agent using a package. Activate the Override Snapshot Connections toggle.

Mocking

In the Advanced Settings section, you can toggle on the Enable Mocking setting to activate mocking for the endpoint. Mocking lets you change node behaviors and test how they perform through the endpoint without changing the original node settings. Make sure that you also activate mocking at the node level.

Additional endpoint settings

You can use the following additional settings to customize the endpoint:

Endpoint-specific settings

How to set up

  1. Log in to the LINE Developers Console.
  2. Create a new provider (if needed).
  3. Create a new Messaging API channel under that provider.
  4. Copy the values from the Channel Secret and Channel Access Token fields for later use.
  1. In the left-side menu of your Project, click Deploy > Endpoints.
  2. On the Endpoints page, click + New Endpoint.
  3. In the New Endpoint section, do the following:
    1. Select the Line Endpoint type.
    2. Specify a unique name.
    3. Select a Flow from the list. Save changes.
  4. Go to the Configuration Information section and copy the URL from the Endpoint URL field.
  1. Go back to the LINE Developers Console.
  2. Open your Messaging API channel settings.
  3. Find the Webhook URL field and paste the Cognigy Endpoint URL you copied.
  4. Enable the webhook by toggling the Use webhook switch. Test the webhook.
  1. In the Cognigy interface, open the LINE Endpoint configuration.
  2. Fill in the Channel Secret and Channel Access Token fields. Save changes.

More information

Last modified on November 11, 2026