channels
line-oa
line-oa-inbound-messages

Receive LINE Official Account inbound messages and events

Set up logic for processing inbound messages and events (for example TEXT, IMAGE, FOLLOW, UNFOLLOW, POSTBACK). Payloads are forwarded in real time to the endpoint provided during account setup. Send the replyToken from the inbound payload back in your next message to have it delivered free of charge (reply tokens are single-use and valid for one minute).

postWebhookreceive-inbound-line-oa-messages

Payload

messageCountinteger

The number of messages returned in the results array.

pendingMessageCountinteger

The number of messages that have not been pulled in.

Response

Your server returns this code if it accepts the callback.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.