Infobip Live Chat API

Infobip Live Chat product offers real-time chat communication with customer on your website or in through your mobile app. More information about the product you can find at Live Chat product documentation. — 1 operation path(s) and 1 webhook(s) in Infobip's published OpenAPI.

OpenAPI Specification

infobip-live-chat-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:48.980338559Z"
 },
 "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":"live-chat",
   "description":"Infobip Live Chat product offers real-time chat communication with customer on your website or in through your mobile app. More information about the product you can find at [Live Chat product documentation](https://www.infobip.com/docs/live-chat).",
   "x-type":"product",
   "x-displayName":"Live Chat"
  }
 ],
 "paths":{
  "/livechat/1/widgets/{widgetId}/sessions/{sessionId}":{
   "delete":{
    "tags":[
     "channels",
     "live-chat"
    ],
    "summary":"Invalidate customer session",
    "description":"This method enables you to invalidate an [authenticated Live Chat web session](https://www.infobip.com/docs/live-chat/users-and-authentication#web-authentication).\n      Session invalidation is performed whenever you wish to explicitly terminate an authenticated session, for example on user log out or due to security concerns.",
    "operationId":"invalidate-customer-session",
    "parameters":[
     {
      "name":"widgetId",
      "in":"path",
      "description":"Unique identifier of your widget. You can obtain the identifier from the [widget configuration page](https://portal.infobip.com/apps/livechat) or from the widget installation snippet.",
      "required":true,
      "style":"simple",
      "explode":false,
      "schema":{
       "type":"string",
       "format":"uuid"
      }
     },
     {
      "name":"sessionId",
      "in":"path",
      "description":"Unique identifier of user session to be invalidated. For more information on session identifiers, see the **SID** parameter in [personalization token](https://www.infobip.com/docs/live-chat/users-and-authentication#generate-the-personalization-token-web-authentication) documentation.",
      "required":true,
      "style":"simple",
      "explode":false,
      "schema":{
       "type":"string"
      }
     }
    ],
    "responses":{
     "204":{
      "description":"No Content"
     },
     "401":{
      "$ref":"#/components/responses/ApiException401"
     },
     "403":{
      "$ref":"#/components/responses/ApiException403"
     },
     "404":{
      "$ref":"#/components/responses/ApiException404"
     },
     "500":{
      "$ref":"#/components/responses/ApiException500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "live-chat:manage"
    ]
   }
  }
 },
 "components":{
  "schemas":{
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardAction":{
    "type":"object",
    "description":"List of buttons displayed on the card.",
    "discriminator":{
     "propertyName":"type",
     "mapping":{
      "URL":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.URLCardAction",
      "POSTBACK_DATA":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.PostbackCardAction"
     }
    },
    "properties":{
     "type":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardActionType"
     }
    },
    "title":"CardAction"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardActionType":{
    "type":"string",
    "enum":[
     "URL",
     "POSTBACK_DATA"
    ],
    "title":"CardActionType"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardContent":{
    "type":"object",
    "description":"A list of cards within the carousel.",
    "properties":{
     "title":{
      "type":"string",
      "description":"Card title, displayed as bold text.",
      "example":"Card title",
      "maxLength":200,
      "minLength":1
     },
     "description":{
      "type":"string",
      "description":"Card description, displayed as regular text.",
      "example":"Some super cool, attention-grabbing description",
      "maxLength":2000,
      "minLength":1
     },
     "imageUrl":{
      "type":"string",
      "description":"Card image URL.",
      "example":"https://www.infobip.com/infobip-logo.png"
     },
     "cardActions":{
      "type":"array",
      "description":"List of buttons displayed on the card.",
      "items":{
       "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardAction"
      },
      "maxItems":4,
      "minItems":0
     }
    },
    "required":[
     "description"
    ],
    "title":"CardContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatButtonResponsePayloadType":{
    "type":"string",
    "description":"Button action type.",
    "enum":[
     "URL",
     "POSTBACK"
    ],
    "title":"LiveChatButtonResponsePayloadType"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundAudioContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2000,
        "minLength":0
       },
       "id":{
        "type":"string",
        "description":"Unique media identifier."
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatInboundAudioContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundBundleContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "inboundMessage":{
        "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
       },
       "outboundMessages":{
        "type":"array",
        "description":"Welcome messages displayed to the end user.",
        "items":{
         "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundTimestampedContent"
        }
       }
      }
     }
    ],
    "required":[
     "inboundMessage",
     "outboundMessages"
    ],
    "title":"LiveChatInboundBundleContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundButtonResponseContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "text":{
        "type":"string",
        "description":"Card button title."
       },
       "payloadType":{
        "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatButtonResponsePayloadType"
       },
       "payload":{
        "type":"string",
        "description":"Button payload."
       }
      }
     }
    ],
    "required":[
     "payloadType",
     "text"
    ],
    "title":"LiveChatInboundButtonResponseContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent":{
    "type":"object",
    "description":"Message content.",
    "discriminator":{
     "propertyName":"type",
     "mapping":{
      "TEXT":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundTextContent",
      "IMAGE":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundImageContent",
      "VIDEO":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundVideoContent",
      "AUDIO":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundAudioContent",
      "DOCUMENT":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundDocumentContent",
      "SURVEY_RESPONSE":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundSurveyResponseContent",
      "BUTTON_RESPONSE":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundButtonResponseContent",
      "BUNDLE":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundBundleContent",
      "CUSTOM_DATA":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundCustomDataContent"
     }
    },
    "properties":{
     "type":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContentType"
     }
    },
    "title":"LiveChatInboundContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContentType":{
    "type":"string",
    "enum":[
     "TEXT",
     "IMAGE",
     "VIDEO",
     "AUDIO",
     "DOCUMENT",
     "SURVEY_RESPONSE",
     "PRE_CHAT_FORM",
     "FORM_RESPONSE",
     "BUTTON_RESPONSE",
     "BUNDLE",
     "CUSTOM_DATA"
    ],
    "title":"LiveChatInboundContentType"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundCustomDataContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "agentMessage":{
        "type":"string",
        "description":"The message for the agent. Leave empty if no message should be displayed.",
        "maxLength":4096,
        "minLength":0
       },
       "userMessage":{
        "type":"string",
        "description":"The message for the customer. Leave empty if no message should be displayed.",
        "maxLength":4096,
        "minLength":0
       },
       "customData":{
        "type":"object",
        "additionalProperties":{
         "type":"object"
        },
        "description":"Custom data content."
       }
      }
     }
    ],
    "title":"LiveChatInboundCustomDataContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundDocumentContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2000,
        "minLength":0
       },
       "caption":{
        "type":"string",
        "description":"Media caption.",
        "maxLength":3000,
        "minLength":0
       },
       "id":{
        "type":"string",
        "description":"Unique media identifier."
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatInboundDocumentContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundImageContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2000,
        "minLength":0
       },
       "caption":{
        "type":"string",
        "description":"Media caption.",
        "maxLength":3000,
        "minLength":0
       },
       "id":{
        "type":"string",
        "description":"Unique media identifier."
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatInboundImageContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundSurveyResponseContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "surveySatisfaction":{
        "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.SurveyResponseSatisfaction"
       },
       "message":{
        "type":"string",
        "description":"Feedback text."
       }
      }
     }
    ],
    "required":[
     "surveySatisfaction"
    ],
    "title":"LiveChatInboundSurveyResponseContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundTextContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "text":{
        "type":"string",
        "description":"The content of the message sent by the end user.",
        "maxLength":4096,
        "minLength":1
       }
      }
     }
    ],
    "required":[
     "text"
    ],
    "title":"LiveChatInboundTextContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundUserData":{
    "type":"object",
    "description":"Data about the user who sent the message.",
    "properties":{
     "cdpPersonId":{
      "type":"integer",
      "format":"int64",
      "description":"Internal person ID in People."
     },
     "userIdentity":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundUserIdentity"
     }
    },
    "required":[
     "cdpPersonId"
    ],
    "title":"LiveChatInboundUserData"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundUserIdentity":{
    "type":"object",
    "description":"Information about the user who sent the message.",
    "properties":{
     "identityType":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundUserIdentityType"
     },
     "identityValue":{
      "type":"string",
      "description":"Unique Person identifier."
     },
     "pushRegistrationId":{
      "type":"string",
      "description":"Push registration ID."
     }
    },
    "required":[
     "identityType",
     "identityValue"
    ],
    "title":"LiveChatInboundUserIdentity"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundUserIdentityType":{
    "type":"string",
    "description":"Unique Person identifier type.",
    "enum":[
     "EMAIL",
     "PHONE",
     "EXTERNAL_ID"
    ],
    "title":"LiveChatInboundUserIdentityType"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundVideoContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2000,
        "minLength":0
       },
       "caption":{
        "type":"string",
        "description":"Media caption.",
        "maxLength":3000,
        "minLength":0
       },
       "id":{
        "type":"string",
        "description":"Unique media identifier."
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatInboundVideoContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundAudioContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2000,
        "minLength":0
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatOutboundAudioContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundButtonContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "text":{
        "type":"string",
        "description":"Message text."
       },
       "url":{
        "type":"string",
        "description":"URL.",
        "maxLength":800,
        "minLength":0
       },
       "buttonPayloads":{
        "type":"array",
        "description":"Card buttons.",
        "items":{
         "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundButtonPayload"
        }
       }
      }
     }
    ],
    "required":[
     "text"
    ],
    "title":"LiveChatOutboundButtonContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundButtonPayload":{
    "type":"object",
    "description":"Card buttons.",
    "properties":{
     "title":{
      "type":"string",
      "description":"Button title."
     },
     "type":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundButtonPayloadType"
     },
     "payload":{
      "type":"string",
      "description":"Unique identifier for 'call to action' buttons."
     }
    },
    "required":[
     "payload",
     "title",
     "type"
    ],
    "title":"LiveChatOutboundButtonPayload"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundButtonPayloadType":{
    "type":"string",
    "description":"Button action.",
    "enum":[
     "URL",
     "POSTBACK"
    ],
    "title":"LiveChatOutboundButtonPayloadType"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundCarouselContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "cards":{
        "type":"array",
        "description":"A list of cards within the carousel.",
        "items":{
         "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardContent"
        },
        "maxItems":10,
        "minItems":2
       },
       "quickReplies":{
        "type":"array",
        "description":"A list of suggested actions independent from the cards.",
        "items":{
         "type":"string",
         "description":"A list of suggested actions independent from the cards."
        }
       }
      }
     }
    ],
    "required":[
     "cards"
    ],
    "title":"LiveChatOutboundCarouselContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent":{
    "type":"object",
    "description":"Messages sent to the end user.",
    "discriminator":{
     "propertyName":"type",
     "mapping":{
      "TEXT":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundTextContent",
      "IMAGE":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundImageWithCaptionContent",
      "VIDEO":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundVideoWithCaptionContent",
      "AUDIO":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundAudioContent",
      "LIVE_CHAT_BUTTON":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundButtonContent",
      "DOCUMENT":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundDocumentWithCaptionContent",
      "SURVEY_REQUEST":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundSurveyRequestContent",
      "QUICK_REPLY":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundQuickReplyContent",
      "CAROUSEL":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundCarouselContent",
      "CUSTOM_DATA":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundCustomDataContent"
     }
    },
    "properties":{
     "type":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContentType"
     }
    },
    "title":"LiveChatOutboundContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContentType":{
    "type":"string",
    "enum":[
     "TEXT",
     "IMAGE",
     "VIDEO",
     "AUDIO",
     "LIVE_CHAT_BUTTON",
     "DOCUMENT",
     "SURVEY_REQUEST",
     "QUICK_REPLY",
     "CAROUSEL",
     "LIVE_CHAT_KNOWLEDGE_BASE_ARTICLE",
     "LIVE_CHAT_KNOWLEDGE_BASE_SEARCH",
     "CUSTOM_DATA"
    ],
    "title":"LiveChatOutboundContentType"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundCustomDataContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "agentMessage":{
        "type":"string",
        "description":"The message for the agent. Leave empty if no message should be displayed.",
        "maxLength":4096,
        "minLength":0
       },
       "userMessage":{
        "type":"string",
        "description":"The message for the customer. Leave empty if no message should be displayed.",
        "maxLength":4096,
        "minLength":0
       },
       "customData":{
        "type":"object",
        "additionalProperties":{
         "type":"object"
        },
        "description":"Custom data content."
       }
      }
     }
    ],
    "title":"LiveChatOutboundCustomDataContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundDocumentWithCaptionContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2048,
        "minLength":0
       },
       "caption":{
        "type":"string",
        "description":"Media caption.",
        "maxLength":240,
        "minLength":0
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatOutboundDocumentWithCaptionContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundImageWithCaptionContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2048,
        "minLength":0
       },
       "caption":{
        "type":"string",
        "description":"Media caption.",
        "maxLength":3000,
        "minLength":0
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatOutboundImageWithCaptionContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundQuickReplyContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "suggestedReplies":{
        "type":"array",
        "description":"Predefined message suggestions to easily start a conversation.",
        "items":{
         "type":"string",
         "description":"Predefined message suggestions to easily start a conversation."
        }
       },
       "source":{
        "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
       },
       "reply":{
        "type":"string",
        "description":"End user response."
       }
      }
     }
    ],
    "required":[
     "source",
     "suggestedReplies"
    ],
    "title":"LiveChatOutboundQuickReplyContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundSurveyRequestContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "question":{
        "type":"string",
        "description":"Survey content.",
        "maxLength":1000,
        "minLength":0
       },
       "followUpQuestion":{
        "type":"string",
        "description":"Feedback question."
       },
       "positiveAnswer":{
        "type":"string",
        "description":"Text displayed as a positive response."
       },
       "negativeAnswer":{
        "type":"string",
        "description":"Text displayed as a negative response."
       },
       "followUpQuestionEnabled":{
        "type":"boolean",
        "description":"Indicates whether the feedback question should be displayed."
       }
      }
     }
    ],
    "required":[
     "followUpQuestionEnabled",
     "question"
    ],
    "title":"LiveChatOutboundSurveyRequestContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundTextContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "text":{
        "type":"string",
        "description":"Message content from the end user.",
        "maxLength":4096,
        "minLength":0
       }
      }
     }
    ],
    "required":[
     "text"
    ],
    "title":"LiveChatOutboundTextContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundTimestampedContent":{
    "type":"object",
    "description":"Welcome messages displayed to the end user.",
    "properties":{
     "content":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     "momentMillis":{
      "type":"integer",
      "format":"int64",
      "description":"The time of the first message received from the end user. Millisecond instant, measured from the Java epoch of 1970-01-01T00:00Z (UTC)."
     }
    },
    "required":[
     "content",
     "momentMillis"
    ],
    "title":"LiveChatOutboundTimestampedContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundVideoWithCaptionContent":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatOutboundContent"
     },
     {
      "type":"object",
      "properties":{
       "url":{
        "type":"string",
        "description":"Media download URL.",
        "maxLength":2048,
        "minLength":0
       },
       "caption":{
        "type":"string",
        "description":"Media caption.",
        "maxLength":3000,
        "minLength":0
       }
      }
     }
    ],
    "required":[
     "url"
    ],
    "title":"LiveChatOutboundVideoWithCaptionContent"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LivechatInboundMessage":{
    "type":"object",
    "description":"Incoming messages.",
    "properties":{
     "from":{
      "type":"string",
      "description":"Live Chat registration ID of the person who sent the message."
     },
     "to":{
      "type":"string",
      "description":"Live Chat widget ID which was used to send the message."
     },
     "integrationType":{
      "type":"string",
      "description":"Message channel which was used to send the message. It is always LIVE_CHAT in this case."
     },
     "receivedAt":{
      "type":"string",
      "format":"date-time",
      "description":"Date and time when Infobip received the message."
     },
     "messageId":{
      "type":"string",
      "description":"The ID that uniquely identifies the received message."
     },
     "callbackData":{
      "type":"string",
      "description":"Callback data sent through the ‛callbackData‛ field when sending a message."
     },
     "message":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundContent"
     },
     "threadId":{
      "type":"string",
      "description":"The ID that uniquely identifies the conversation thread."
     },
     "currentLanguage":{
      "type":"string",
      "description":"Widget language at the time the message was sent."
     },
     "userData":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LiveChatInboundUserData"
     },
     "price":{
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.MessagePrice"
     }
    },
    "required":[
     "from",
     "integrationType",
     "message",
     "messageId",
     "price",
     "receivedAt",
     "to"
    ],
    "title":"LivechatInboundMessage"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LivechatInboundMessages":{
    "type":"object",
    "properties":{
     "results":{
      "type":"array",
      "description":"Incoming messages.",
      "items":{
       "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.LivechatInboundMessage"
      }
     },
     "messageCount":{
      "type":"integer",
      "format":"int32",
      "description":"The number of messages returned in the results array."
     },
     "pendingMessageCount":{
      "type":"integer",
      "format":"int32",
      "description":"The number of messages that have not been pulled in."
     }
    },
    "required":[
     "messageCount",
     "pendingMessageCount",
     "results"
    ],
    "title":"LivechatInboundMessages"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.MessagePrice":{
    "type":"object",
    "description":"Sent message price.",
    "properties":{
     "pricePerMessage":{
      "type":"number",
      "description":"Price per one message."
     },
     "currency":{
      "type":"string",
      "description":"The currency in which the price is expressed."
     }
    },
    "title":"MessagePrice"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.PostbackCardAction":{
    "type":"object",
    "allOf":[
     {
      "$ref":"#/components/schemas/245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.CardAction"
     },
     {
      "type":"object",
      "properties":{
       "title":{
        "type":"string",
        "description":"Suggestion text",
        "example":"Pick one!"
       },
       "postbackData":{
        "type":"string",
        "description":"URL or postback data for sending.",
        "example":"REPLY"
       }
      }
     }
    ],
    "required":[
     "postbackData",
     "title"
    ],
    "title":"PostbackCardAction"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.SurveyResponseSatisfaction":{
    "type":"string",
    "description":"Satisfaction indicator.",
    "enum":[
     "SATISFIED",
     "UNSATISFIED"
    ],
    "title":"SurveyResponseSatisfaction"
   },
   "245a74e48cd7ce0a3e2f108689f6fc8d5a08a4d75c5aeb1883fc983443d62958.URLCardAction":{
    "type":"object",
    "all

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