# LINE Messaging API API

> LINE Messaging API API on Apizie: 12 endpoints (Create audience for uploading user IDs (by JSON), Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON), Create audience for uploading user IDs (by file)., Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file)., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/communication:line-manage-audience/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `communication:line-manage-audience`
- Category: Communication
- Status: byok
- Source: https://developers.line.biz/en/docs/
- Page: https://apizie.tech/api/communication/line-manage-audience
- OpenAPI: https://apizie.tech/api/communication/line-manage-audience/openapi.json

This document describes LINE Messaging API.

## Endpoints

### Create audience for uploading user IDs (by JSON)
`POST https://apizie.tech/v1/communication:line-manage-audience/create-audience-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by JSON)
`POST https://apizie.tech/v1/communication:line-manage-audience/add-audience-to-audience-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Create audience for uploading user IDs (by file).
`POST https://apizie.tech/v1/communication:line-manage-audience/create-audience-for-uploading-user-ids` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | Form fields as a JSON object |

### Add user IDs or Identifiers for Advertisers (IFAs) to an audience for uploading user IDs (by file).
`POST https://apizie.tech/v1/communication:line-manage-audience/add-user-ids-to-audience` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | Form fields as a JSON object |

### Create audience for click-based retargeting
`POST https://apizie.tech/v1/communication:line-manage-audience/create-click-based-audience-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Create audience for impression-based retargeting
`POST https://apizie.tech/v1/communication:line-manage-audience/create-imp-based-audience-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Renames an existing audience.
`POST https://apizie.tech/v1/communication:line-manage-audience/update-audience-group-description` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| audienceGroupId | integer | yes | The audience ID. |
| body | object | yes | JSON request body |

### Gets audience data.
`GET https://apizie.tech/v1/communication:line-manage-audience/get-audience-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| audienceGroupId | integer | yes | The audience ID. |

### Delete audience
`POST https://apizie.tech/v1/communication:line-manage-audience/delete-audience-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| audienceGroupId | integer | yes | The audience ID. |

### Gets data for more than one audience.
`GET https://apizie.tech/v1/communication:line-manage-audience/get-audience-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | yes | The page to return when getting (paginated) results. Must be 1 or higher. |
| description | string | no | The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are… |
| status | string | no | The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. |
| size | integer | no | The number of audiences per page. Default: 20 Max: 40 |
| includesExternalPublicGroups | boolean | no | true (default): Get public audiences created in all channels linked to the same bot. false: Get audiences created in the same channel. |
| createRoute | string | no | How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official… |

### Gets audience data.
`GET https://apizie.tech/v1/communication:line-manage-audience/get-shared-audience-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| audienceGroupId | integer | yes | The audience ID. |

### Gets data for more than one audience, including those shared by the Business Manager.
`GET https://apizie.tech/v1/communication:line-manage-audience/get-shared-audience-groups` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | yes | The page to return when getting (paginated) results. Must be 1 or higher. |
| description | string | no | The name of the audience(s) to return. You can search for partial matches. This is case-insensitive, meaning AUDIENCE and audience are… |
| status | string | no | The status of the audience(s) to return. If omitted, the status of the audience(s) will not be used as a search criterion. |
| size | integer | no | The number of audiences per page. Default: 20 Max: 40 |
| createRoute | string | no | How the audience was created. If omitted, all audiences are included. `OA_MANAGER`: Return only audiences created with LINE Official… |
| includesOwnedAudienceGroups | boolean | no | true: Include audienceGroups owned by LINE Official Account Manager false: Respond only audienceGroups shared by Business Manager |

## Example
```
curl "https://apizie.tech/v1/communication:line-manage-audience/create-audience-group" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the LINE Messaging API API?
Create a free Apizie key, then send POST https://apizie.tech/v1/communication:line-manage-audience/create-audience-group with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the LINE Messaging API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. LINE Messaging API itself also needs your own key from line.me.

### Can AI agents use the LINE Messaging API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key communication:line-manage-audience.

### What is the status of the LINE Messaging API API?
Needs your own provider key (bring your own key)
