After a LINE Official Notifications (LON) message is sent, LINE will send a webhook to the callback URL set in the LINE Developers Console to notify the delivery status of the message with event type delivery.

JSON
{
  "destination": "Uc7472b39e21dab71c2347e02714630d6",
  "events": [
    {
      "type": "delivery",
      "delivery": {
        "data": "15034552939884E28681A7D668CEA94C147C716C0EC9DFE8B80B44EF3B57F6BD0602366BC3menu01"
      },
      "webhookEventId": "01G17EJCGAVV66J5WNA7ZCTF6H",
      "deliveryContext": {
        "isRedelivery": false
      },
      "timestamp": 1650591346705,
      "source": {
        "type": "user",
        "userId": "U8189cf6745fc0d808977bdb0b9f22995"
      },
      "mode": "active"
    }
  ]
}

To update the delivery status of a LON message in Abbie Platform, you have 2 options:

  1. Use your existing webhook endpoint to receive the delivery status of the message and then forward webhook object and x-line-signature to the Update LON Message Delivery Status API to update the delivery status of the message in Abbie Platform.

  2. Use the Update LON Message Delivery Status API in LINE Developers Console to update the delivery status of the message in Abbie Platform. You can use this option if you don’t have an existing webhook endpoint to receive the delivery status of the message.