Infobip LINE API

Disrupt the Southeast Asian market with LINE messaging. Send timely notifications and reminders to your customers, through pre-approved templates, so they can take prompt action and never miss out on communications. To utilize LINE in combination with other channels, check out Messages API. — 2 operation path(s) and 1 webhook(s) in Infobip's published OpenAPI.

OpenAPI Specification

infobip-line-openapi.json Raw ↑
{
 "openapi":"3.1.0",
 "info":{
  "title":"Infobip OpenAPI Specification",
  "description":"OpenAPI Specification that contains all public endpoints and webhooks.",
  "contact":{
   "name":"Infobip support",
   "email":"support@infobip.com"
  },
  "version":"3.210.0",
  "x-generatedAt":"2026-07-23T15:23:49.30644178Z"
 },
 "tags":[
  {
   "name":"channels",
   "description":"Create a perfect customer experience by using the channels your customer already use and love.\n",
   "x-type":"category",
   "x-displayName":"Channels"
  },
  {
   "name":"line",
   "description":"Disrupt the Southeast Asian market with LINE messaging. Send timely notifications and reminders to your customers, through pre-approved templates, so they can take prompt action and never miss out on communications.\n\nTo utilize LINE in combination with other channels, check out [Messages API](https://www.infobip.com/docs/api/platform/messages-api).\n",
   "x-type":"product",
   "x-displayName":"LINE"
  },
  {
   "name":"send-line",
   "description":"",
   "x-type":"section",
   "x-displayName":"Outbound Message"
  },
  {
   "name":"line-message-status-reports",
   "description":"",
   "x-type":"section",
   "x-displayName":"Message Status Reports"
  }
 ],
 "paths":{
  "/line/1/messages":{
   "post":{
    "tags":[
     "channels",
     "line",
     "send-line"
    ],
    "summary":"Send a LINE message",
    "description":"Send one or more [LINE Official Notifications](https://www.infobip.com/docs/line/message-types#line-official-notifications-lon) messages to multiple recipients.",
    "externalDocs":{
     "description":"Learn more about LINE channel and use cases",
     "url":"https://www.infobip.com/docs/line"
    },
    "operationId":"send-line-message",
    "requestBody":{
     "content":{
      "application/json":{
       "schema":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.LineRequest"
       },
       "examples":{
        "Send a LINE message":{
         "summary":"Send a LINE message",
         "value":{
          "messages":[
           {
            "sender":"OFFICIAL-ACCOUNT-ID-123",
            "destinations":[
             {
              "to":"66855538125"
             }
            ],
            "content":{
             "altText":"Thank you for your purchase. We have successfully received your order.",
             "contents":{
              "header":{
               "layout":"HORIZONTAL",
               "paddingAll":"none",
               "paddingTop":"md",
               "paddingBottom":"md",
               "paddingStart":"lg",
               "paddingEnd":"lg",
               "offsetTop":"none",
               "contents":[
                {
                 "url":"https://example.com/logo",
                 "flex":2,
                 "align":"CENTER",
                 "gravity":"CENTER",
                 "size":"80%",
                 "type":"IMAGE"
                },
                {
                 "contents":[
                  {
                   "text":"OFFICIAL NOTIFICATION",
                   "type":"SPAN"
                  }
                 ],
                 "flex":20,
                 "size":"14px",
                 "align":"CENTER",
                 "gravity":"CENTER",
                 "wrap":true,
                 "color":"#ffffff",
                 "weight":"REGULAR",
                 "position":"RELATIVE",
                 "type":"TEXT"
                },
                {
                 "text":"powered by",
                 "contents":[
                  {
                   "text":"powered by",
                   "size":"10px",
                   "weight":"REGULAR",
                   "style":"ITALIC",
                   "type":"SPAN"
                  }
                 ],
                 "flex":7,
                 "align":"END",
                 "gravity":"CENTER",
                 "wrap":true,
                 "color":"#ffffff",
                 "offsetTop":"0.3px",
                 "type":"TEXT"
                },
                {
                 "text":"powered by",
                 "contents":[
                  {
                   "text":"LINE",
                   "size":"12px",
                   "weight":"BOLD",
                   "type":"SPAN"
                  }
                 ],
                 "flex":4,
                 "align":"CENTER",
                 "gravity":"CENTER",
                 "wrap":true,
                 "color":"#ffffff",
                 "type":"TEXT"
                }
               ],
               "type":"BOX"
              },
              "body":{
               "layout":"VERTICAL",
               "paddingAll":"none",
               "paddingTop":"xl",
               "paddingBottom":"lg",
               "paddingStart":"xxl",
               "paddingEnd":"xxl",
               "contents":[
                {
                 "layout":"VERTICAL",
                 "paddingTop":"none",
                 "offsetTop":"none",
                 "offsetBottom":"none",
                 "contents":[
                  {
                   "text":"Purchase complete",
                   "size":"lg",
                   "wrap":true,
                   "weight":"BOLD",
                   "type":"TEXT"
                  }
                 ],
                 "type":"BOX"
                },
                {
                 "layout":"HORIZONTAL",
                 "paddingTop":"lg",
                 "contents":[
                  {
                   "contents":[
                    {
                     "text":"Thank you for your purchase. We have successfully received your order.",
                     "type":"SPAN"
                    }
                   ],
                   "wrap":true,
                   "offsetTop":"none",
                   "type":"TEXT"
                  }
                 ],
                 "type":"BOX"
                }
               ],
               "type":"BOX"
              },
              "footer":{
               "layout":"HORIZONTAL",
               "borderWidth":"none",
               "margin":"none",
               "paddingTop":"sm",
               "paddingBottom":"md",
               "action":{
                "label":"action",
                "uri":"https://example.com/action",
                "type":"URI"
               },
               "contents":[
                {
                 "contents":[
                  {
                   "text":"Learn more about LINE Official Notification ",
                   "color":"#BDBDBD",
                   "type":"SPAN"
                  },
                  {
                   "text":"here",
                   "color":"#00b4ff",
                   "decoration":"UNDERLINE",
                   "type":"SPAN"
                  },
                  {
                   "text":".",
                   "color":"#BDBDBD",
                   "type":"SPAN"
                  }
                 ],
                 "size":"10px",
                 "align":"CENTER",
                 "wrap":true,
                 "type":"TEXT"
                }
               ],
               "type":"BOX"
              },
              "style":{
               "header":{
                "backgroundColor":"#06C755"
               },
               "footer":{
                "backgroundColor":"#EEEEEE"
               }
              },
              "type":"BUBBLE"
             },
             "type":"LINE_NOTIFICATION"
            }
           }
          ]
         }
        }
       }
      }
     },
     "required":true
    },
    "responses":{
     "200":{
      "description":"OK",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ResponseEnvelopeMessageResponseMessageResponseDetails"
        },
        "examples":{
         "LINE message response":{
          "summary":"LINE message response",
          "value":{
           "bulkId":"2034072219640523072",
           "messages":[
            {
             "messageId":"2250be2d4219-3af1-78856-aabe-1362af1edfd2",
             "status":{
              "groupId":1,
              "groupName":"PENDING",
              "id":7,
              "name":"PENDING_ENROUTE",
              "description":"Message sent to next instance"
             },
             "destination":"66855538125"
            }
           ]
          }
         }
        }
       }
      }
     },
     "400":{
      "description":"Bad Request",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "message:send",
     "line:message:send",
     "line:manage"
    ]
   }
  },
  "/line/1/reports":{
   "get":{
    "tags":[
     "channels",
     "line",
     "line-message-status-reports"
    ],
    "summary":"Get LON delivery reports",
    "description":"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.",
    "externalDocs":{
     "description":"Learn more about LINE channel and use cases",
     "url":"https://www.infobip.com/docs/line"
    },
    "operationId":"get-outbound-line-message-delivery-reports",
    "parameters":[
     {
      "name":"bulkId",
      "in":"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.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     },
     {
      "name":"messageId",
      "in":"query",
      "description":"The ID that uniquely identifies the message sent.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     },
     {
      "name":"limit",
      "in":"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.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"integer",
       "format":"int32",
       "default":50,
       "maximum":1000
      },
      "example":1
     },
     {
      "name":"entityId",
      "in":"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).",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"promotional-traffic-entity"
     },
     {
      "name":"applicationId",
      "in":"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).",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"marketing-automation-application"
     },
     {
      "name":"campaignReferenceId",
      "in":"query",
      "description":"ID of a campaign that was sent in the message.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"summersale"
     }
    ],
    "responses":{
     "200":{
      "description":"OK",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryReports"
        },
        "examples":{
         "Delivery report":{
          "summary":"Delivery report",
          "value":{
           "results":[
            {
             "bulkId":"1688025180464000013",
             "price":{
              "pricePerMessage":0.15,
              "currency":"EUR"
             },
             "status":{
              "groupId":3,
              "groupName":"DELIVERED",
              "id":5,
              "name":"DELIVERED_TO_HANDSET",
              "description":"Message delivered to handset"
             },
             "error":{
              "groupId":0,
              "groupName":"OK",
              "id":0,
              "name":"NO_ERROR",
              "description":"No Error",
              "permanent":false
             },
             "messageId":"1688025180464000014",
             "to":"66855538125",
             "sender":"OFFICIAL-ACCOUNT-ID-123",
             "sentAt":"2023-09-26T10:52:15.457+0000",
             "doneAt":"2023-09-26T10:52:15.799+0000",
             "messageCount":1,
             "mccMnc":"22801",
             "platform":{
              "entityId":"promotional-traffic-entity",
              "applicationId":"marketing-automation-application"
             }
            }
           ]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "message:send",
     "line:message:send",
     "line:manage"
    ]
   }
  }
 },
 "components":{
  "schemas":{
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Action":{
    "type":"object",
    "discriminator":{
     "propertyName":"type",
     "mapping":{
      "URI":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.UriAction",
      "POSTBACK":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.PostbackAction"
     }
    },
    "properties":{
     "type":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ActionType"
     }
    },
    "title":"Action"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ActionType":{
    "type":"string",
    "enum":[
     "URI",
     "POSTBACK"
    ],
    "title":"ActionType"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Alignment":{
    "type":"string",
    "enum":[
     "START",
     "END",
     "CENTER"
    ],
    "title":"Alignment"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.AltUri":{
    "type":"object",
    "properties":{
     "desktop":{
      "type":"string",
      "maxLength":1000,
      "minLength":0
     }
    },
    "title":"AltUri"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.AspectMode":{
    "type":"string",
    "enum":[
     "COVER",
     "FIT"
    ],
    "title":"AspectMode"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BlockStyle":{
    "type":"object",
    "properties":{
     "backgroundColor":{
      "type":"string"
     },
     "separator":{
      "type":"boolean"
     },
     "separatorColor":{
      "type":"string"
     }
    },
    "title":"BlockStyle"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Box":{
    "type":"object",
    "properties":{
     "layout":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BoxLayout"
     },
     "backgroundColor":{
      "type":"string"
     },
     "borderColor":{
      "type":"string"
     },
     "borderWidth":{
      "type":"string"
     },
     "cornerRadius":{
      "type":"string"
     },
     "width":{
      "type":"string"
     },
     "height":{
      "type":"string"
     },
     "flex":{
      "type":"integer",
      "format":"int32",
      "maximum":20,
      "minimum":0
     },
     "margin":{
      "type":"string"
     },
     "spacing":{
      "type":"string"
     },
     "paddingAll":{
      "type":"string"
     },
     "paddingTop":{
      "type":"string"
     },
     "paddingBottom":{
      "type":"string"
     },
     "paddingStart":{
      "type":"string"
     },
     "paddingEnd":{
      "type":"string"
     },
     "offsetTop":{
      "type":"string"
     },
     "offsetBottom":{
      "type":"string"
     },
     "offsetStart":{
      "type":"string"
     },
     "offsetEnd":{
      "type":"string"
     },
     "position":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Position"
     },
     "action":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Action"
     },
     "contents":{
      "type":"array",
      "items":{
       "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Component"
      }
     },
     "type":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ComponentType"
     }
    },
    "required":[
     "layout"
    ],
    "title":"Box"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BoxLayout":{
    "type":"string",
    "enum":[
     "HORIZONTAL",
     "VERTICAL",
     "BASELINE"
    ],
    "title":"BoxLayout"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BubbleContainer":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.LineNotificationContainer"
     },
     {
      "type":"object",
      "properties":{
       "size":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BubbleSize"
       },
       "direction":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BubbleDirection"
       },
       "header":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Box"
       },
       "body":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Box"
       },
       "footer":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Box"
       },
       "style":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Style"
       },
       "action":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Action"
       }
      }
     }
    ],
    "title":"BubbleContainer"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BubbleDirection":{
    "type":"string",
    "enum":[
     "LEFT_TO_RIGHT",
     "RIGHT_TO_LEFT"
    ],
    "title":"BubbleDirection"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.BubbleSize":{
    "type":"string",
    "enum":[
     "NANO",
     "MICRO",
     "KILO",
     "MEGA",
     "GIGA"
    ],
    "title":"BubbleSize"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Button":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Component"
     },
     {
      "type":"object",
      "properties":{
       "action":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Action"
       },
       "flex":{
        "type":"integer",
        "format":"int32",
        "maximum":20,
        "minimum":0
       },
       "margin":{
        "type":"string"
       },
       "position":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Position"
       },
       "offsetTop":{
        "type":"string"
       },
       "offsetBottom":{
        "type":"string"
       },
       "offsetStart":{
        "type":"string"
       },
       "offsetEnd":{
        "type":"string"
       },
       "height":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Height"
       },
       "style":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Style"
       },
       "color":{
        "type":"string"
       },
       "gravity":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Gravity"
       }
      }
     }
    ],
    "required":[
     "action"
    ],
    "title":"Button"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Component":{
    "type":"object",
    "discriminator":{
     "propertyName":"type",
     "mapping":{
      "BOX":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Box",
      "BUTTON":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Button",
      "ICON":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Icon",
      "IMAGE":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Image",
      "SEPARATOR":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Separator",
      "TEXT":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Text",
      "SPAN":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Span"
     }
    },
    "properties":{
     "type":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ComponentType"
     }
    },
    "title":"Component"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ComponentType":{
    "type":"string",
    "enum":[
     "BOX",
     "BUTTON",
     "ICON",
     "IMAGE",
     "SEPARATOR",
     "TEXT",
     "SPAN"
    ],
    "title":"ComponentType"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DefaultSmsFailover":{
    "type":"object",
    "description":"Failover SMS message to be sent if the original message could not be delivered.",
    "properties":{
     "sender":{
      "type":"string",
      "description":"The sender ID. It can be alphanumeric or numeric (e.g., `CompanyName`). Make sure you don't exceed [character limit](https://www.infobip.com/docs/sms/get-started#sender-names)."
     },
     "text":{
      "type":"string",
      "description":"Content of the message being sent."
     },
     "validityPeriod":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.ValidityPeriod"
     },
     "regional":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.RegionalOptions"
     }
    },
    "required":[
     "text"
    ],
    "title":"DefaultSmsFailover"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryDay":{
    "type":"string",
    "description":"Days of the week which are included in the delivery time window. At least one day must be provided. Separate multiple days with a comma.",
    "enum":[
     "MONDAY",
     "TUESDAY",
     "WEDNESDAY",
     "THURSDAY",
     "FRIDAY",
     "SATURDAY",
     "SUNDAY"
    ],
    "title":"DeliveryDay"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryReport":{
    "type":"object",
    "description":"Collection of reports, one per every message.",
    "properties":{
     "bulkId":{
      "type":"string",
      "description":"Unique ID assigned to the request if messaging multiple recipients or sending multiple messages via a single API request."
     },
     "price":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.MessagePrice"
     },
     "status":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.MessageStatus"
     },
     "error":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.MessageError"
     },
     "messageId":{
      "type":"string",
      "description":"Unique message ID."
     },
     "to":{
      "type":"string",
      "description":"Message destination address."
     },
     "sender":{
      "type":"string",
      "description":"The sender ID which can be alphanumeric or numeric (e.g., `CompanyName`)."
     },
     "sentAt":{
      "type":"string",
      "format":"date-time",
      "description":"Date and time when the message was sent. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ."
     },
     "doneAt":{
      "type":"string",
      "format":"date-time",
      "description":"Date and time when the Infobip services finished processing the message (i.e., delivered to the destination, network, etc.). Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ."
     },
     "messageCount":{
      "type":"integer",
      "format":"int32",
      "description":"The number of sent messages."
     },
     "mccMnc":{
      "type":"string",
      "description":"Mobile country and network codes."
     },
     "callbackData":{
      "type":"string",
      "description":"Callback data sent through ‛callbackData‛ field when sending message."
     },
     "platform":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Platform"
     },
     "campaignReferenceId":{
      "type":"string",
      "description":"ID of a campaign that was sent in the message."
     }
    },
    "title":"DeliveryReport"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryReports":{
    "type":"object",
    "properties":{
     "results":{
      "type":"array",
      "description":"Collection of reports, one per every message.",
      "items":{
       "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryReport"
      }
     }
    },
    "title":"DeliveryReports"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryTime":{
    "type":"object",
    "description":"The exact time of the day. The time is expressed in the UTC time zone.",
    "properties":{
     "hour":{
      "type":"integer",
      "format":"int32",
      "description":"Hour when the time window opens when used in the `from` property or closes when used in the `to` property.",
      "maximum":23,
      "minimum":0
     },
     "minute":{
      "type":"integer",
      "format":"int32",
      "description":"Minute when the time window opens when used in the `from` property or closes when used in the `to` property.",
      "maximum":59,
      "minimum":0
     }
    },
    "required":[
     "hour",
     "minute"
    ],
    "title":"DeliveryTime"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryTimeWindow":{
    "type":"object",
    "description":"Sets specific message delivery window outside of which messages won't be delivered. Often, used when there are restrictions on when messages can be sent. The exact time of the day to start sending messages can be defined using the `from` property. The exact time of the day to end sending messages can be defined using the `to` property. Properties `from` and `to` should be both provided with the minimum 1 hour difference or omitted.",
    "properties":{
     "days":{
      "type":"array",
      "description":"Days of the week which are included in the delivery time window. At least one day must be provided. Separate multiple days with a comma.",
      "items":{
       "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryDay"
      }
     },
     "from":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryTime"
     },
     "to":{
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.DeliveryTime"
     }
    },
    "required":[
     "days"
    ],
    "title":"DeliveryTimeWindow"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Gravity":{
    "type":"string",
    "enum":[
     "TOP",
     "BOTTOM",
     "CENTER"
    ],
    "title":"Gravity"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Height":{
    "type":"string",
    "enum":[
     "SMALL",
     "MEDIUM"
    ],
    "title":"Height"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Icon":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Component"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string"
       },
       "margin":{
        "type":"string"
       },
       "position":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Position"
       },
       "offsetTop":{
        "type":"string"
       },
       "offsetBottom":{
        "type":"string"
       },
       "offsetStart":{
        "type":"string"
       },
       "offsetEnd":{
        "type":"string"
       },
       "size":{
        "type":"string"
       },
       "aspectRatio":{
        "type":"string"
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"Icon"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Image":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Component"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string"
       },
       "flex":{
        "type":"integer",
        "format":"int32",
        "maximum":20,
        "minimum":0
       },
       "margin":{
        "type":"string"
       },
       "position":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Position"
       },
       "offsetTop":{
        "type":"string"
       },
       "offsetBottom":{
        "type":"string"
       },
       "offsetStart":{
        "type":"string"
       },
       "offsetEnd":{
        "type":"string"
       },
       "align":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Alignment"
       },
       "gravity":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Gravity"
       },
       "size":{
        "type":"string"
       },
       "aspectRatio":{
        "type":"string"
       },
       "aspectMode":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.AspectMode"
       },
       "backgroundColor":{
        "type":"string"
       },
       "action":{
        "$ref":"#/components/schemas/267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.Action"
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"Image"
   },
   "267b6ecf9b18ace076c5287f2f55ab493690ff43a19cc6531a331c0c908f8fd5.IndiaDltOptions":{
    "type":"object",
    "description":"Distributed Ledger Technology (DLT) specific parameters required for sending SMS to phone numbers registered in India.",
    "properties":{
     "contentTemplateId":{
      "type":"string",
      "description":"Registered DLT content template ID which matches message you are sending."
     },
     "principalEntityId":{
      "type":"string"

# --- truncated at 32 KB (69 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/infobip/refs/heads/main/openapi/infobip-line-openapi.json