Communication

LINE

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Create Rich Menu

    Create 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 Image

    Create a rich-menu definition and upload its JPEG or PNG image in one call; the finished menu must still be set as default or linked to a user to display. If image upload fails, the tool attempts to delete the new definition, but cleanup can also fail.

  • Delete Rich Menu

    Permanently delete a rich menu by ID. Delete only a menu the caller owns or explicitly intends to remove.

  • Download Message Content Preview

    Download LINE's reduced-size preview image for a retained image or video message whose contentProvider.type is line.

  • Get Follower Insight

    Return 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 be unavailable while statistics are unready or out of service.

  • Get Message Delivery Count

    Get 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 Insight

    Return 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 Menu

    Get one Messaging API rich-menu definition by ID, including its canvas, tappable areas, and actions.

  • Link or Unlink User Rich Menu

    Link 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 acceptance, not the assignment effect.

  • List Chat Member IDs

    Return 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 IDs

    Return 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 consent.

  • List Rich Menus

    List all rich menus created through the Messaging API. Menus created in LINE Official Account Manager are not included.

  • Mark Messages as Read

    Mark 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 Message

    Reply 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 new webhook event and use its new reply token; the failed token cannot be refreshed or retried.

  • Send Push Message

    Irreversibly 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 Menu

    Set 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 Image

    Upload 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.