LINE for AI agents

Agents read LINE at once. Changes and sends are held for a person's approval by default.

About LINE

Use a LINE Official Account's Messaging API channel to manage messages, audiences, and rich menus.

What an agent can do in LINE

Every LINE action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.

Runs at once (reads)

Looks things up in LINE without asking first. 8 actions.

  • Download Message Content PreviewDownload LINE's reduced-size preview image for a retained image or video message whose contentProvider.type is line.
  • Get Follower InsightReturn cumulative first-time friend additions, currently targetable users, and current blocks as of one UTC+9 date. The friend-add total does not decrease after blocks or account deletions. Counts can
  • Get Message Delivery CountGet the number of reply, push, multicast, or broadcast messages sent on one UTC+9 calendar date. A result can be unready, unavailable_for_privacy, or out_of_service instead of containing a count.
  • Get Message Delivery InsightReturn aggregate counts of messages sent on one UTC+9 calendar date, broken down across Official Account Manager, Messaging API, and supported partner channels.
  • Get Rich MenuGet one Messaging API rich-menu definition by ID, including its canvas, tappable areas, and actions.
  • List Chat Member IDsReturn one page of member user IDs for a group or legacy room containing the bot. Requires a verified or premium LINE Official Account; room applies only to legacy multi-person chats.
  • List Follower IDsReturn one page of user IDs for friends of the LINE Official Account. This endpoint requires a verified or premium LINE Official Account and excludes blockers, deleted users, and users without profile
  • List Rich MenusList all rich menus created through the Messaging API. Menus created in LINE Official Account Manager are not included.

Held for approval by default (changes and sends)

Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 9 actions.

  • Create Rich MenuCreate a rich-menu definition and return its ID. Creation alone does not display it: upload an image, then set it as default or link it to a user.
  • Create Rich Menu with ImageCreate a rich-menu definition and upload its JPEG or PNG image in one call. If image upload fails, the newly created definition is deleted automatically. The finished menu must still be set as default
  • Delete Rich MenuPermanently delete a rich menu by ID. Delete only a menu the caller owns or explicitly intends to remove.
  • Link or Unlink User Rich MenuLink or unlink a per-user rich menu. WARNING: LINE can return HTTP 200 even when nothing changed for a nonexistent, deleted, blocked, non-friend, or cross-channel user; success confirms request accept
  • Mark Messages as ReadMark all messages through a webhook-issued read token as read. The token must have been received by this exact bot; this operation cannot be undone.
  • Reply to MessageReply with one to five text messages using a single-use token from a LINE webhook. Call this within one minute of receiving the token. If LINE reports an expired, reused, or invalid token, wait for a
  • Send Push MessageIrreversibly send one to five text messages from a LINE Official Account to a webhook/API userId, groupId, or roomId. The destination is never a user's visible LINE ID.
  • Set or Clear Default Rich MenuSet or clear the Messaging API default rich menu. Setting requires an image-backed rich menu; clearing does not delete the menu and does not clear a default managed in LINE Official Account Manager.
  • Upload Rich Menu ImageUpload a JPEG or PNG image for a rich menu. An image cannot be replaced for the same rich-menu ID; create a new menu to use another image.

Changes wait in Needs you

Changes and sends in LINE are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

How approvals work

LINE questions

Can an agent change data in LINE on its own?

Not by default. Changes and sends in LINE are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

What can an agent read in LINE?

This connector lists 8 read actions. Reads run at once, without waiting for approval.

How does LINE connect?

It connects with API key. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.

Bring LINE to your agents.