Line

LINE Module API

This document describes LINE Messaging API.

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This document describes LINE Messaging API.

Endpoints 4

line-module

  • POSTdetachModule/v2/bot/channel/detachThe module channel admin calls the Detach API to detach the module channel from a LINE Official Account.
  • POSTacquireChatControl/v2/bot/chat/:chatId/control/acquireIf the Standby Channel wants to take the initiative (Chat Control), it calls the Acquire Control API. The channel that was previously an Active Channel will…
  • POSTreleaseChatControl/v2/bot/chat/:chatId/control/releaseTo return the initiative (Chat Control) of Active Channel to Primary Channel, call the Release Control API.
  • GETgetModules/v2/bot/listGets a list of basic information about the bots of multiple LINE Official Accounts that have attached module channels.

API details

Base URL
https://api.line.me
Authentication
A bearer token in the Authorization header
Operations
4 operations on 4 pathsPOST 3GET 1
Main resources
line-module 4
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 0.0.1

How to test the LINE Module API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the LINE Module API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “detachModule” (POST /v2/bot/channel/detach), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the LINE Module API?

This document describes LINE Messaging API. It is listed under Communication and has 4 endpoints.

Who publishes the LINE Module API?

It is listed from Line's public API description (an OpenAPI document), not published by Line on Swastik Codes. Anyone who controls line.biz can claim the profile by adding a DNS TXT record.

What is the base URL of the LINE Module API?

Requests go to https://api.line.me. Endpoint paths are added to this base URL.

How do I authenticate with the LINE Module API?

With A bearer token in the Authorization header.

How many endpoints does the LINE Module API have?

4 operations on 4 paths (3 POST, 1 GET). The largest groups are line-module.

Is forking the LINE Module API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.