{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Live Stream Chat API V3 — Developer Guide","description":"Sprinklr offers robust, convenient, and simple RESTful Web service APIs to integrate data from Sprinklr to any external system.","keywords":["Sprinklr API","Sprinklr Developer Portal","OAuth 2.0","RESTful API","Social Media API","Customer Experience API","Unified-CXM","Social Listening API"]},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"live-stream-chat-api-v3--developer-guide","__idx":0},"children":["Live Stream Chat API V3 — Developer Guide"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Applies to:"]}," Sprinklr Live Stream Chat API V3 (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/v3/liveChat/event"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["V2 API reference:"]}," ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://legacy-dev.sprinklr.com/live-stream-chat"},"children":["Live Stream Chat APIs | Sprinklr Developer Portal"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"1-overview","__idx":1},"children":["1. Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A Sprinklr Live Stream Chat Event represents a real-time messaging session attached to a live video or product launch.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"It allows brands to engage with customers during live broadcasts, capture conversations, and manage event lifecycle (create, fetch, update, start, stop)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Live Stream Chat V3 exposes full CRUD on a single resource path — ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/v3/liveChat/event"]}," — differentiated by HTTP method:"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operation"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Operation"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Method"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Method"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Path"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Path"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/v3/liveChat/event"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Get event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GET"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/v3/liveChat/event?eventId="]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["?eventIds="]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Update event (full replace)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PUT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/v3/liveChat/event?eventId={id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Update event (partial)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PATCH"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/v3/liveChat/event?eventId={id}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Delete event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not exposed in V3"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is the central design change from V2, which spread the same capabilities across multiple endpoints (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["create-or-update-live-stream-event"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["fetch-live-stream-event"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start-live-stream-event"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["end-live-stream-event"]},")."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"2-base-urls-and-environments","__idx":2},"children":["2. Base URLs and environments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All API calls are sent to the production endpoint:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://api3.sprinklr.com/{env}/api/v3\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["So the live chat resource in production is:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://api3.sprinklr.com/{env}/api/v3/liveChat/event\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Replace ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{env}"]}," with your assigned environment identifier (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prod0"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["prod2"]},", etc.)."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"3-authentication-and-common-headers","__idx":3},"children":["3. Authentication and common headers"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All Live Chat API calls are authenticated with OAuth 2.0."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Header"},"children":["Header"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Value"},"children":["Value"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Purpose"},"children":["Purpose"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required on"},"children":["Required on"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer {{accessToken}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Authenticates the user with the server"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All requests"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{{apiKey}}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Authenticates the application with the server"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All requests"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Content-Type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Declares the request body media type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All requests"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Accept"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["application/json"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Declares the acceptable response type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All requests"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"4-write-operations","__idx":4},"children":["4. Write Operations"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"41-create-a-live-chat-event","__idx":5},"children":["4.1 Create a Live Chat Event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/v3/liveChat/event"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Creates a new live chat event for sending or receiving messages."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-parameters","__idx":6},"children":["Request Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required / Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required / Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required for updating"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event ID. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Note: Only used when updating an existing event."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["startTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Starting time of the live stream event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ending time of the live stream event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["chatApplicationId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique identifier for the live chat application. Must be a valid application ID."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"steps-to-extract-chat-application-id-and-event-id-from-sprinklr-ui","__idx":7},"children":["Steps to extract Chat Application ID and Event ID from Sprinklr UI"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sprinklr Service > Listen"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Live Stream Care"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The section displays all available live stream events."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Find the event you want and click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["three‑dots (⋮)"]}," icon next to its name."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["From the drop‑down menu, choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Embed"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The embed code appears."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["From this code, extract the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Chat Application ID"]}," and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Stream Event ID"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-request","__idx":8},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location --request POST 'https://api3.sprinklr.com/{env}/api/v3/liveChat/event' \\\n--header 'Authorization: Bearer {Access Token}' \\\n--header 'Key: {API KEY}' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--data '{\n  \"name\": \"BR Test Stream New\",\n  \"startTime\": 1781246718000,\n  \"endTime\": 1781346918000,\n  \"chatApplicationId\": \"app_66000112\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"42-update-a-live-chat-event","__idx":9},"children":["4.2 Update a Live Chat Event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT /api/v3/liveChat/event?eventId={id}"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Updates details of a live chat event."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"query-parameter","__idx":10},"children":["Query parameter"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required/Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required/Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eventId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event ID. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This is the live chat stream ID you received in the Create Live Chat Event API response. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"You can also get this ID from the Sprinklr UI."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-body-parameters","__idx":11},"children":["Request body parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required / Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required / Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required for updating"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event ID. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Note: Only used when updating an existing live chat event."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["startTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Starting time of the live stream event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ending time of the live stream event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["chatApplicationId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Refers to the unique identifier for the live chat application. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Must be a valid live chat application ID."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-request-1","__idx":12},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location --request PUT 'https://api3.sprinklr.com/{env}/api/v3/liveChat/event?eventId=6a8f9511c7c795c9441a70fa' \\\n--header 'Authorization: Bearer {Access Token}' \\\n--header 'Key: {API KEY}' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--data '{\n  \"id\": \"6a8f9511c7c795c9441a70fa\",\n  \"name\": \"BR Test Stream Updated\",\n  \"startTime\": 1791070319000,\n  \"endTime\": 1791246718000,\n  \"chatApplicationId\": \"app_66000112\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"43-patch-live-chat-event","__idx":13},"children":["4.3 Patch Live Chat Event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH /api/v3/liveChat/event?eventId={id}"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Updates the status of a live chat event."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"query-parameter-1","__idx":14},"children":["Query Parameter"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required/Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required/Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eventId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event ID. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This is the live chat stream ID you received in the Create Live Chat Event API response. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"You can also get this ID from the Sprinklr UI (see steps below)."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"request-body-parameter","__idx":15},"children":["Request Body Parameter"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required/Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required/Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["streamStatus"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Status of the live chat stream. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Supported Values:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IN_PROGRESS"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STOPPED"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"status-behavior-notes","__idx":16},"children":["Status Behavior Notes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["STOPPED"]},": When the event status is updated to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STOPPED"]},", the system automatically sets the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["endTime"]}," to the current time."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IN_PROGRESS"]},": To update an event to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IN_PROGRESS"]},", the event must currently be in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULED"]}," status (future start time). Once updated, the system automatically sets the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["startTime"]}," to the current time."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-request--start-event","__idx":17},"children":["Example Request — Start Event"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location --request PATCH 'https://api3.sprinklr.com/{env}/api/v3/liveChat/event?eventId=6a8f9511c7c795c9441a70fa' \\\n--header 'Authorization: Bearer {Access Token}' \\\n--header 'Key: {API KEY}' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--data '{\n  \"streamStatus\": \"IN_PROGRESS\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-request--end-event","__idx":18},"children":["Example Request — End Event"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location --request PATCH 'https://api3.sprinklr.com/{env}/api/v3/liveChat/event?eventId=6a8f9511c7c795c9441a70fa' \\\n--header 'Authorization: Bearer {Access Token}' \\\n--header 'Key: {API KEY}' \\\n--header 'Content-Type: application/json' \\\n--header 'Accept: application/json' \\\n--data '{\n  \"streamStatus\": \"STOPPED\"\n}'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"5-read-operations","__idx":19},"children":["5. Read Operations"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"51-get--fetch-live-stream-chat-event","__idx":20},"children":["5.1 GET — Fetch Live Stream Chat Event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Using this API, you can fetch a single chat event for the given live chat stream ID."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Endpoint"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://api3.sprinklr.com/{env}/api/v3/liveChat/event\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"query-parameter-2","__idx":21},"children":["Query Parameter"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required/Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required/Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eventId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Live stream event ID. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This is the live chat stream ID you received in the Create Live Chat Event API response. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"You can also get this ID from the Sprinklr UI."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"steps-to-extract-chat-application-id-and-event-id-from-sprinklr-ui-1","__idx":22},"children":["Steps to extract Chat Application ID and Event ID from Sprinklr UI"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sprinklr Service > Listen"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Live Stream Care"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The section displays all available live stream events."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Find the event you want and click the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["three‑dots (⋮)"]}," icon next to its name."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["From the drop‑down menu, choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Embed"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The embed code appears."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["From this code, extract the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Chat Application ID"]}," and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Stream Event ID"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-request-2","__idx":23},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location --request GET 'https://api3.sprinklr.com/{env}/api/v3/liveChat/event?eventId=6a8f9511c7c795c9441a70fa' \\\n--header 'Authorization: Bearer {Enter your Access Token}' \\\n--header 'accept: application/json' \\\n--header 'Content-Type: application/json'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"52-get--fetch-bulk-live-stream-chat-events","__idx":24},"children":["5.2 GET — Fetch Bulk Live Stream Chat Events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Using this API, you can fetch multiple chat events for the given live chat stream IDs."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Endpoint"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://api3.sprinklr.com/{env}/api/v3/liveChat/event\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"query-parameter-3","__idx":25},"children":["Query Parameter"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required/Optional"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required/Optional"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["eventIds"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Required"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Provide all event IDs as a comma‑separated list. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"This is the live chat stream ID you received in the Create Live Chat Event API response. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"You can also get this ID from the Sprinklr UI."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"example-request-3","__idx":26},"children":["Example Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl --location --request GET 'https://api3.sprinklr.com/{env}/api/v3/liveChat/event?eventIds=6a28fa36dea489ac372bc154,6a292953190af7da16bbf439,6a292c63190af7da16bda5ed,6a292c7ce1b8b9fd832cba95' \\\n--header 'Authorization: Bearer {Enter your Access Token}' \\\n--header 'accept: application/json' \\\n--header 'Content-Type: application/json'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"5-response-format-and-parameters","__idx":27},"children":["5. Response format and parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["{"," ","\"data\": { ... },"," ","\"errors\": []"," ","}"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Field"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object/Array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Event object(s) returned"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["errors"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Array"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error messages (empty if none)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"event-object-fields","__idx":28},"children":["Event object fields"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each event object inside ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data"]}," contains the following fields:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique identifier for the live stream chat event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name of the live stream chat event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["startTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Starting time of the live stream chat event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ending time of the live stream chat event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Long"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["streamStatus"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Status of the live chat stream. ",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Examples: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SCHEDULED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STOPPED"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["IN_PROGRESS"]},"."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["chatApplicationId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique chat application ID of the live chat present on Sprinklr"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example--single-event-response","__idx":29},"children":["Example — Single Event Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"data\": {\n        \"id\": \"6a8f9511c7c795c9441a70fa\",\n        \"name\": \"Test Stream-Deepak02\",\n        \"startTime\": 1781070319000,\n        \"endTime\": 1781246718000,\n        \"streamStatus\": \"STOPPED\",\n        \"chatApplicationId\": \"app_66000112\"\n    },\n    \"errors\": []\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example--bulk-event-response","__idx":30},"children":["Example — Bulk Event Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n    \"data\": [\n        {\n            \"id\": \"6a292953190af7da16bbf439\",\n            \"name\": \"Test Stream-Deepak02\",\n            \"startTime\": 1781070319000,\n            \"endTime\": 1781246718000,\n            \"streamStatus\": \"STOPPED\",\n            \"chatApplicationId\": \"app_66000112\"\n        },\n        {\n            \"id\": \"6a292c63190af7da16bda5ed\",\n            \"name\": \"Test Stream-Deepak02\",\n            \"startTime\": 1781070318000,\n            \"endTime\": 1781246718000,\n            \"streamStatus\": \"STOPPED\",\n            \"chatApplicationId\": \"app_66000112\"\n        }\n    ],\n    \"errors\": []\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"6-response-codes","__idx":31},"children":["6. Response codes"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"HTTP Code"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HTTP Code"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Scenario"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Scenario"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["200 OK"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Success"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Operation executed successfully"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["400 Bad Request"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid Parameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Missing or invalid request parameters"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["401 Unauthorized"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Authentication Failed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Invalid or missing Authorization token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["403 Forbidden"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Insufficient Permissions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["User lacks permission"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["404 Not Found"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Resource Missing"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Event not found"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500 Internal Server Error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Server Error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unexpected server‑side error occurred"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"7-migration-from-v2-to-v3","__idx":32},"children":["7. Migration from V2 to V3"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Live Stream Chat APIs have been redesigned in V3 for consistency and clarity.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Here’s a comparison of V2 vs V3 endpoints and behavior:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operation"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Operation"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"V2 Endpoint"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["V2 Endpoint"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"V3 Endpoint"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["V3 Endpoint"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Key Differences"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Key Differences"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create/Update Event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/v2/live-chat/create-or-update-live-stream-event"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/v3/liveChat/event"]}," (create) / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PUT /api/v3/liveChat/event?eventId={id}"]}," (update)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["V2 combined create/update into one POST; V3 separates into POST (create) and PUT (update)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fetch Single Event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v2/live-chat/fetch-live-stream-event/{id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v3/liveChat/event?eventId={id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Path parameter in V2 vs query parameter in V3."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fetch Multiple Events"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /api/v2/live-chat/fetch-live-stream-events"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v3/liveChat/event?eventIds={id1,id2,...}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["V2 used POST with body; V3 uses GET with comma-separated query parameter."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Start Event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v2/live-chat/start-live-stream-event/{id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH /api/v3/liveChat/event?eventId={id}"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["streamStatus=IN_PROGRESS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lifecycle control unified under PATCH in V3."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["End Event"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v2/live-chat/end-live-stream-event/{id}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH /api/v3/liveChat/event?eventId={id}"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["streamStatus=STOPPED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lifecycle control unified under PATCH in V3."]}]}]}]}]}]},"headings":[{"value":"Live Stream Chat API V3 — Developer Guide","id":"live-stream-chat-api-v3--developer-guide","depth":1},{"value":"1. Overview","id":"1-overview","depth":2},{"value":"2. Base URLs and environments","id":"2-base-urls-and-environments","depth":2},{"value":"3. Authentication and common headers","id":"3-authentication-and-common-headers","depth":2},{"value":"4. Write Operations","id":"4-write-operations","depth":2},{"value":"4.1 Create a Live Chat Event","id":"41-create-a-live-chat-event","depth":3},{"value":"Request Parameters","id":"request-parameters","depth":4},{"value":"Steps to extract Chat Application ID and Event ID from Sprinklr UI","id":"steps-to-extract-chat-application-id-and-event-id-from-sprinklr-ui","depth":4},{"value":"Example Request","id":"example-request","depth":4},{"value":"4.2 Update a Live Chat Event","id":"42-update-a-live-chat-event","depth":3},{"value":"Query parameter","id":"query-parameter","depth":4},{"value":"Request body parameters","id":"request-body-parameters","depth":4},{"value":"Example Request","id":"example-request-1","depth":4},{"value":"4.3 Patch Live Chat Event","id":"43-patch-live-chat-event","depth":3},{"value":"Query Parameter","id":"query-parameter-1","depth":4},{"value":"Request Body Parameter","id":"request-body-parameter","depth":4},{"value":"Status Behavior Notes","id":"status-behavior-notes","depth":3},{"value":"Example Request — Start Event","id":"example-request--start-event","depth":4},{"value":"Example Request — End Event","id":"example-request--end-event","depth":4},{"value":"5. Read Operations","id":"5-read-operations","depth":2},{"value":"5.1 GET — Fetch Live Stream Chat Event","id":"51-get--fetch-live-stream-chat-event","depth":3},{"value":"Query Parameter","id":"query-parameter-2","depth":4},{"value":"Steps to extract Chat Application ID and Event ID from Sprinklr UI","id":"steps-to-extract-chat-application-id-and-event-id-from-sprinklr-ui-1","depth":4},{"value":"Example Request","id":"example-request-2","depth":4},{"value":"5.2 GET — Fetch Bulk Live Stream Chat Events","id":"52-get--fetch-bulk-live-stream-chat-events","depth":3},{"value":"Query Parameter","id":"query-parameter-3","depth":4},{"value":"Example Request","id":"example-request-3","depth":4},{"value":"5. Response format and parameters","id":"5-response-format-and-parameters","depth":2},{"value":"Event object fields","id":"event-object-fields","depth":3},{"value":"Example — Single Event Response","id":"example--single-event-response","depth":3},{"value":"Example — Bulk Event Response","id":"example--bulk-event-response","depth":3},{"value":"6. Response codes","id":"6-response-codes","depth":2},{"value":"7. Migration from V2 to V3","id":"7-migration-from-v2-to-v3","depth":2}],"frontmatter":{"seo":{"title":"Live Stream Chat API V3 — Developer Guide"}},"lastModified":"2026-10-12T04:13:20.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/developer-guides-v3/live-stream-chat-api-v3-developer-guide","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}