Line

LINE Audience Management 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 12

manage-audience

  • PUTaddAudienceToAudienceGroup/v2/bot/audienceGroup/uploadAdd user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
  • POSTcreateAudienceGroup/v2/bot/audienceGroup/uploadCreate audience for uploading user IDs (by JSON)
  • POSTcreateClickBasedAudienceGroup/v2/bot/audienceGroup/clickCreate audience for click-based retargeting
  • POSTcreateImpBasedAudienceGroup/v2/bot/audienceGroup/impCreate audience for impression-based retargeting
  • PUTupdateAudienceGroupDescription/v2/bot/audienceGroup/:audienceGroupId/updateDescriptionRenames an existing audience.
  • GETgetAudienceData/v2/bot/audienceGroup/:audienceGroupIdGets audience data.
  • DELETEdeleteAudienceGroup/v2/bot/audienceGroup/:audienceGroupIdDelete audience
  • GETgetAudienceGroups/v2/bot/audienceGroup/list?page=1Gets data for more than one audience.
  • GETgetSharedAudienceData/v2/bot/audienceGroup/shared/:audienceGroupIdGets audience data.
  • GETgetSharedAudienceGroups/v2/bot/audienceGroup/shared/list?page=1Gets data for more than one audience, including those shared by the Business Manager.

manage-audience-blob

  • PUTaddUserIdsToAudiencehttps://api-data.line.me/v2/bot/audienceGroup/upload/byFileAdd user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
  • POSTcreateAudienceForUploadingUserIdshttps://api-data.line.me/v2/bot/audienceGroup/upload/byFileCreate audience for uploading user IDs (by file).

API details

Base URL
https://api.line.me
Authentication
A bearer token in the Authorization header
Operations
12 operations on 9 pathsGET 4POST 4PUT 3DELETE 1
Main resources
manage-audience 10manage-audience-blob 2
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 0.0.1

How to test the LINE Audience Management 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 Audience Management 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 “addAudienceToAudienceGroup” (PUT /v2/bot/audienceGroup/upload), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the LINE Audience Management API?

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

Who publishes the LINE Audience Management 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 Audience Management API?

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

How do I authenticate with the LINE Audience Management API?

With A bearer token in the Authorization header.

How many endpoints does the LINE Audience Management API have?

12 operations on 9 paths (4 GET, 4 POST, 3 PUT, 1 DELETE). The largest groups are manage-audience, manage-audience-blob.

Is forking the LINE Audience Management 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.