{
  "opencollection": "1.0.0",
  "info": {
    "name": "Infobip OpenAPI Specification",
    "version": "3.210.0"
  },
  "items": [
    {
      "info": {
        "name": "channels",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Send a LINE message",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/line/1/messages",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "Send one or more [LINE Official Notifications](https://www.infobip.com/docs/line/message-types#line-official-notifications-lon) messages to multiple recipients."
        },
        {
          "info": {
            "name": "Get LON delivery reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/line/1/reports",
            "params": [
              {
                "name": "bulkId",
                "value": "",
                "type": "query",
                "description": "The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address."
              },
              {
                "name": "messageId",
                "value": "",
                "type": "query",
                "description": "The ID that uniquely identifies the message sent."
              },
              {
                "name": "limit",
                "value": "1",
                "type": "query",
                "description": "Maximum number of delivery reports to be returned. If not set, the latest 50 records are returned. Maximum limit value is 1000 and you can only access reports for the last 48h."
              },
              {
                "name": "entityId",
                "value": "promotional-traffic-entity",
                "type": "query",
                "description": "Entity id used to send the message. For more details, see our [documentation](https://www.infobip.com/docs/cpaas-x/application-and-entity-management)."
              },
              {
                "name": "applicationId",
                "value": "marketing-automation-application",
                "type": "query",
                "description": "Application id used to send the message. For more details, see our [documentation](https://www.infobip.com/docs/cpaas-x/application-and-entity-management)."
              },
              {
                "name": "campaignReferenceId",
                "value": "summersale",
                "type": "query",
                "description": "ID of a campaign that was sent in the message."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "Authorization",
              "value": "{{Authorization}}",
              "placement": "header"
            }
          },
          "docs": "If you are unable to receive real-time delivery reports towards your endpoint for various reasons, we offer you an API method to fetch batches of delivery reports to confirm whether specific messages have been delivered. Each request towards this endpoint will return batches of the latest delivery reports. Please note they will be returned only once."
        }
      ]
    }
  ],
  "bundled": true
}