Line

LINE Channel Access Token API

This document describes Channel Access Token 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 Channel Access Token API.

Endpoints 8

channel-access-token

  • POSTissueStatelessChannelToken/oauth2/v3/tokenIssues a new stateless channel access token, which doesn't have max active token limit unlike the other token types. The newly issued token is only valid for…
  • GETgetsAllValidChannelAccessTokenKeyIds/oauth2/v2.1/tokens/kid?client_assertion_type=string&client_assertion=stringGets all valid channel access token key IDs.
  • POSTissueChannelTokenByJWT/oauth2/v2.1/tokenIssues a channel access token that allows you to specify a desired expiration date. This method lets you use JWT assertion for authentication.
  • GETverifyChannelTokenByJWT/oauth2/v2.1/verify?access_token=stringYou can verify whether a Channel access token with a user-specified expiration (Channel Access Token v2.1) is valid.
  • POSTrevokeChannelTokenByJWT/oauth2/v2.1/revokeRevoke channel access token v2.1
  • POSTissueChannelToken/v2/oauth/accessTokenIssue short-lived channel access token
  • POSTverifyChannelToken/v2/oauth/verifyVerify the validity of short-lived and long-lived channel access tokens
  • POSTrevokeChannelToken/v2/oauth/revokeRevoke short-lived or long-lived channel access token

API details

Base URL
https://api.line.me
Authentication
None declared in the description
Operations
8 operations on 8 pathsPOST 6GET 2
Main resources
channel-access-token 8
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 0.0.1

How to test the LINE Channel Access Token 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 Channel Access Token API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “issueStatelessChannelToken” (POST /oauth2/v3/token), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the LINE Channel Access Token API?

This document describes Channel Access Token API. It is listed under Communication and has 8 endpoints.

Who publishes the LINE Channel Access Token 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 Channel Access Token API?

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

How do I authenticate with the LINE Channel Access Token API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the LINE Channel Access Token API have?

8 operations on 8 paths (6 POST, 2 GET). The largest groups are channel-access-token.

Is forking the LINE Channel Access Token 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.