Data Streams - Live Chat / In-App Messaging

Contains the payloads and descriptions for Inbound, Outbound, and Delivery Receipts for Live Chat / In-App.

In-App - Inbound Message

The following are the Live Chat / In-App inbound message payloads.

{
   "attachments":"",
   "clientId":"EK20133633/xxxx/v2_610FA9CFEDBxxxxEAC82CF60759BB0C0",
   "transid":"d94ba95c-xxxx-4c4e-xxxx-7851028415f4",
   "channel":"Rtm",
   "extras":"",
   "dataIntegration":{
      "context":{
         "serviceId":"",
         "serviceName":"",
         "flowId":"",
         "flowName":"",
         "messagingAPI":"false"
      },
      "appContext":{
         
      }
   },
   "thread":"{\"updated_on\":\"2024-11-xxxx:52:55.947Z\",\"created_on\":\"2024-11-xxxx:52:40.801Z\",\"id\":\"fd321782-dc4c-4107-bb6a-ebfc473f9e0a\",\"title\":\"MyStore 483\",\"category\":\"MyStore 483\",\"type\":\"Conversation\",\"unread_msg_count\":0,\"status\":\"Active\"}",
   "message":"",
   "userId":"8686",
   "tid":"d94ba95c-xxxx-4c4e-xxxx-7851028415f4",
   "thread_title":"MyStore 483",
   "clientUUID":"9e911426-xxxx-4747-xxxx-d9499c7433bd",
   "x-wx-gtrid":"7528f6be-xxxx-4777-xxxx-548b879a61b7",
   "thread_id":"fd321782-xxxx-4107-xxxx-ebfc473f9e0a",
   "appId":"Exxxx33633",
   "replyTo":"",
   "event":"MO",
   "ts":"2024-11-xxxx:23:00.284+05:30"
}
{
   "attachments":"[{\"preview\":\"/9j/4AAQSkZJRxxxxgAAAQABAAD//gAQTGF2YzU4LjU0LjEwMAD/2wBDAAgoKC8oLxxxxzc3N0E8QUNDQ0FBQUFDQ0NISEhVVVVISEhDQ0hIUFBVVVxfXFdXVVdfXxxxxHh4c3OMjJGsrM//xAB/AAACAwEBAQAAAAAAAAAAAAAFBAYCAwEHAAEAAgMBAQEAAAAAAAAAAAAAAwQCBQEGAAcQAAIBAwIEBQMEAwEAAAAAAAABAhEhAxIxQVGRIoFxMhNhQlIEYrGS0aGCwfARAQEAAgICAwEBAAAA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MCBOPGCZlOpYdhKUZFrNWKt1R0fovvcLmEWrVmrVwQJKw7WvA2QfECF4IGLc14h8gGPNm6MGzd0ehiDon8sNUBuMrULWFpXgnncE26DlVGZcBLGIRSIw1pZX1NX1IHluGIQUpX6DERjIfkC4Y5zfaj0OUpbJaV8DutrDFA3Q5Y0rOSr8G0IxUqvcr/ABddceler7ewhwdacSXqDdZVo2+iOK4qxs7PjSbeVN3PUMv4+KNW1betWaIEf088TTVwu5xiqRigcBJmqygqsXxtpjlLUu1NtKoKQlV0AAVFEqopskyikLeTnMqzYQthjS5qrF/jd1zcy12sYcxhrJPTZXBzq2dzbHH+W3tLHTr5g2TyVs7E88T8s12p7FhYNpVNVe+yXA52YXJ0XlMeFKYsCpdprM53Wr23flQA67GjAbk1sXGEgE6BCEJ7gqDcnc3MXXkIEJcB6WxTrXLHRpiPN0OSQti9ixMpJgOcuBZaWcjWwXjIiykV+ltW6MUbkwXUoNH9K4QRdwamImdF0qNcDEFEoC1FpK4/KxfROLFMaki8iojIr3mMF3GkPUiUegu0EgzWRTN6S+xZicvDLwiKdyi3XmdT6Z6c/Ps9Ps9ihFSVHyN8f/DnvbPbr5wl6RrN3Qaex9k9L8STwNZXlceR9DcUaVrEgUVpYwvSwjUGEcb7vAyx+oUvDbwg8nqOLY4jLluXIjRGT28ikuBHQi9xexfRPolez2tGiMrHZB6jQGmuCK8EM5fVt+iuySyBpHZFfjw3HhR16hrfZ4lH6fEuoyFGlcfAtj4FpizFjTDdTN7k8m5CPM57HZ8CnjYk8hE1cvPcvsWYpPLJI2WwPJDJrAiRyRJsa8pLgdlwCNDaIJ2KLYXaE0MlsUlsW8eiwef/2Q==\",\"file\":\"https://qa-appleattachment.s3.amazonaws.com/dbd82a30-918e-4222-b799-c3879ae98eabd2d93f4c-293e-403a-8fdc-0db7cfb0d28f?keyUri=kms%3A%2F%2Fkms-us-int.wbx2.com%2Fkeys%2F3e42f5f1-5f82-4dcb-918d-b04f844aad2d&JWE=eyJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiZGlyIn0..LBIBZpjvxHhH9uIY.p3g7qG3xGIDpnBRLs5kY4jXB42Rzria6L8w_czkoxjjwQSnsKj87oQxH9ho9fohucIOB4_LZ6zifexvqXAbBCqvFfdHRDvIcfxMxyONzzYvZJJHgtoBuU3xFrR_aZ589MgiGNugeOXK7K0u29ToCZJmyDzSvd5tFsLbhPl9NdlcUheiAhnwZZTJR3Yhb4E3Cw9UbjRfdrqabW2oMbeeg6dZ2bli9UP3Mf4gTGp6cGPV59CLnlU4_8gpO26SHU8H-KSqVvreNcifLkM9n55DGWGtt54nHPXTcb-0xiwk0Ta0xZJgDol8etCEaZyVzX0b_N0Y0DulCLwT6lmkbcB510kD7GGJdsvGv2rUd8dgAkzucwzRsd94DTZ9C.nJlHRNZ41d0LcSxmF43jRw\",\"size\":75370,\"id\":\"302947189875262\",\"contentType\":\"image\"}]",
   "clientId":"EK20133633/xxxx/v2_610FA9CFEDBxxxxEAC82CF60759BB0C0",
   "transid":"defc578b-xxxx-4405-xxxx-09f9b67e1f52",
   "channel":"Rtm",
   "extras":"",
   "dataIntegration":{
      "context":{
         "serviceId":"",
         "serviceName":"",
         "flowId":"",
         "flowName":"",
         "messagingAPI":"false"
      },
      "appContext":{
         
      }
   },
   "thread":"{\"updated_on\":\"2024-11-xxxx:26:35.949Z\",\"id\":\"20fade24-xxxx-459f-xxxx-2415936ff3eb\",\"unread_msg_count\":0,\"title\":\"Thread1Test\",\"type\":\"Conversation\",\"status\":\"Active\"}",
   "message":"",
   "userId":"xxxx",
   "tid":"defc578b-xxxx-4405-xxxx-09f9b67e1f52",
   "thread_title":"Thread1Test",
   "clientUUID":"9e911426-xxxx-4747-xxxx-d9499c7433bd",
   "x-wx-gtrid":"fcb9c714-xxxx-4559-xxxx-f0b010ae773c",
   "thread_id":"20fade24-xxxx-459f-xxxx-2415936ff3eb",
   "appId":"EK2xxxx633",
   "replyTo":"",
   "event":"MO",
   "ts":"2024-11-xxxx:58:06.386+05:30"
}
{
    "attachments": "",
    "clientId": "EK20133633/xxxx/v2_610FA9CFEDB64xxxxC82CF60759BB0C0",
    "transid": "64475517-xxxx-445a-xxxx-d416d9ed9f0f",
    "channel": "Rtm",
    "interactiveData": "{\"reference\":\"postback\",\"identifier\":\"postback\",\"title\":\"postback\",\"type\":\"quickReplyPostback\"}",
    "extras": "",
    "dataIntegration": {
        "context": {
            "serviceId": "",
            "serviceName": "",
            "flowId": "",
            "flowName": "",
            "messagingAPI": "false"
        },
        "appContext": {
            
        }
    },
    "thread": "{\"updated_on\":\"2024-11-xxxx:06:16.152Z\",\"created_on\":\"2024-11-xxxx:57:12.725Z\",\"id\":\"70f01690-xxxx-4cc7-xxxx-00ed1823dc43\",\"title\":\"iOS Test 776\",\"category\":\"iOS Test 776\",\"type\":\"Conversation\",\"unread_msg_count\":0,\"status\":\"Active\"}",
    "message": "postback",
    "userId": "xxxx",
    "tid": "64475517-xxxx-445a-xxxx-d416d9ed9f0f",
    "thread_title": "iOS Test 776",
    "clientUUID": "9e911426-xxxx-4747-xxxx-d9499c7433bd",
    "x-wx-gtrid": "822e9c85-xxxx-40bb-xxxx-cbff99c57e85",
    "thread_id": "70f01690-xxxx-4cc7-xxxx-00ed1823dc43",
    "appId": "EKxxxx3633",
    "replyTo": "",
    "event": "OnPostback",
    "ts": "2024-11-xxxx:36:17.510+05:30"
}
{
    "connect_message_id": "fb9cc640-xxxx-4659-xxxx-2cd85e429686",
    "data": "{\"update\":{\"geofenceId\":\"672ccb5cc67xxxx52392c895_866_s4uojutarb\"}}",
    "transid": "93dafd9f-xxxx-4000-xxxx-25ad151078a2_5",
    "origin": "gateway",
    "channel": "Rtm",
    "dataIntegration": {
        "context": {
            "serviceId": "",
            "serviceName": "",
            "flowId": "",
            "flowName": "",
            "messagingAPI": "false"
        },
        "appContext": {
            
        }
    },
    "clentId": "EK20133633/xxxx/v2_306C0875A5854xxxx05399A5104E96C1",
    "userId": "9897",
    "deviceId": "306C0875A58545xxxx5399A5104E96C1",
    "version": "2",
    "tid": "93dafd9f-xxxx-4000-xxxx-25ad151078a2_5",
    "clientUUID": "9e911426-xxxx-4747-xxxx-d9499c7433bd",
    "x-wx-gtrid": "",
    "appId": "EKxxxx3633",
    "event": "OnGeoEnter",
    "tenant": "4xxxx799",
    "ts": "2024-11-xxxx:37:05.641+05:30"
}


{
    "connect_message_id": "876f085f-xxxx-4db5-xxxx-ea0567535ee4",
    "data": "{\"update\":{\"geofenceId\":\"6256a7xxxxb0aa46cefae3ef_866_d216lpltzq\"}}",
    "transid": "d0669948-xxxx-4510-xxxx-8e6bd8708f23_2",
    "origin": "gateway",
    "channel": "Rtm",
    "dataIntegration": {
        "context": {
            "serviceId": "",
            "serviceName": "",
            "flowId": "",
            "flowName": "",
            "messagingAPI": "false"
        },
        "appContext": {
            
        }
    },
    "clentId": "EK20133633/xxxx/v2_fe078xxxx9bc058a",
    "userId": "1809",
    "deviceId": "fe0780xxxxbc058a",
    "version": "2",
    "tid": "d0669948-xxxx-4510-xxxx-8e6bd8708f23_2",
    "clientUUID": "9e911426-xxxx-4747-xxxx-d9499c7433bd",
    "x-wx-gtrid": "",
    "appId": "EK2xxxx633",
    "event": "OnGeoLeave",
    "tenant": "4xxxx799",
    "ts": "2024-11-xxxx:14:42.863+05:30"
}
{
    "origin": "gateway",
    "channel": "Rtm",
    "dataIntegration": {
        "context": {
            "serviceId": "76",
            "serviceName": "RegInApp",
            "flowId": "xxxx",
            "flowName": "Flow3Threadclosed",
            "messagingAPI": "false"
        },
        "appContext": {
            
        }
    },
    "type": "Conversation",
    "title": "FormtEstThread",
    "userId": "9897",
    "tid": "32a8bd14-xxxx-4e05-xxxx-75d112720035",
    "threadId": "99d56588-xxxx-4263-xxxx-b822c7b7b517",
    "x-wx-gtrid": "14d45a2a-xxxx-4d42-xxxx-cacf0a93915f",
    "datetime": "2024-11-xxxx:08:26.982+05:30",
    "appId": "EK20133633",
    "event": "OnThreadClosed",
    "status": "Closed",
    "ts": "2024-11-xxxx:08:26.982+05:30"
}
{
    "transid": "27075df0-xxxx-4929-xxxx-6dd6f1e436a3",
    "channel": "Rtm",
    "dataIntegration": [
        {
            "prebuiltId": xxxx,
            "outBoundEventNotificationEnabled": 1,
            "drEventNotificationEnabled": 1,
            "context": {
                "serviceId": "",
                "serviceName": "",
                "flowId": "",
                "flowName": "",
                "messagingAPI": "false"
            },
            "userAuditNotificationEnabled": 0,
            "assetLevel": 1,
            "isInboundEventNotificationEnabled": 1,
            "dataIntegrationid": 172
        }
    ],
    "thread": "{\"id\":\"99d56588-xxxx-4263-xxxx-b822c7b7b517\",\"title\":\"FormtEstThread\",\"type\":\"Conversation\",\"unread_msg_count\":0,\"status\":\"Closed\"}",
    "event_identifier": "MO",
    "userId": "9897",
    "deviceId": "05667xxxxa671eb3",
    "tid": "27075df0-xxxx-4929-xxxx-6dd6f1e436a3",
    "clientUUID": "9e911426-xxxx-4747-xxxx-d9499c7433bd",
    "x-wx-gtrid": "0f91c362-xxxx-4700-xxxx-99a573c5c74b",
    "channel_identifier": "RTM",
    "appId": "EKxxxx3633",
    "tenantId": 3,
    "event": "UpdateThreadACK",
    "ts": "2024-11-xxxx:08:28.713+05:30"
}

Live Chat / In-App - Inbound Message Descriptions

The following table contains the parameter descriptions of inbound messages.

Field NameDescriptionsExampleEvent Type
attachmentsIn-App attachment details[{"file":"https://stagingrtmedia.s3.amazonaws.com/ne05064134/97407654974538.doc","size":98304,"id":"97407654974538","contentType":"file"}]
clientIdUnique identification number of the client.POXXXX3801/3XX2/v2_fc50XXXXXXXXXX5a
transidContains the transaction ID.d94ba95c-xxxx-4c4e-xxxx-7851028415f4
channelThis is “rt” in case of Live Chat and In-App Messaging.RTMCommon parameter for all inbound event types.
extrasContains the additional information like some user-specific property, or any custom parameter that is required to display the message in a certain fashion within the app{     
"key1": "value1",
"key2": "value2",
"key3": "value3"   
}
dataIntegrationThe object contains key-value pairs which are added either by Data Stream admin or in flow and also app context object."dataIntegration": {    "context":
{     
"key1": "value1",
"key2": "value2",
"key3": "value3"   
},
“appContext”: {
}
}
contextThe object contains key-value pairs which are added either by Data Stream admin or in flow."context": { 
"key1": "value1",
"key2": "value2",
"key3": "value3"   
}
Common parameter for all inbound event types.
serviceIdContains the unique reference id of the service.12345Common parameter for all inbound event types.
serviceNameContains the name of the service.My New ServiceCommon parameter for all inbound event types.
flowIdContains the unique ID for the flow.54321Common parameter for all inbound event types.
flowNameContains the name of the flow.Sample FlowCommon parameter for all inbound event types.
messagingAPIIndicates whether the request is sent through messaging APItrue/falseCommon parameter for all delivery receipts.
appContextThe object is added as key-value pair either by Data Stream admin or in flow.“appContext“: {
“key1”: “value1“,
“key2”: “value2“
}
Common parameter for all inbound event types.
thread
messageContains the text message sent by the user.Hi this is a LiveChat message
userIdUnique identification number of the user.12345Common parameter for all inbound event types.
tidContains the transaction id.cfXXXX81-2XXe-4XX5-9XXd-36XXXXXXXX3aCommon parameter for all inbound event types.
thread_title
client_UUID
x-wx-gtridContains the global transaction ID between cross-products for a given request.d7XXXX76-3XXa-4XXe-9XX3-d6XXXXXXXXf9Message and Attachments
thread_id
appidContains the application ID.a_63XXXXXXXXXXXXX000Common parameter for all inbound event types.
reply_ToContains the details of the user to whom the message is being sent.User1Message, Attachments and Postback
eventContains the incoming event type.Incoming Message
OnPostback
OnGeoEnter
OnGeoLeave
OnThreadClosed
Custom
tsTimestamp when MO received to Webex Connect.2022-01-17T10:59:51.945ZCommon parameter for all inbound event types.
datetimeData and Time on which the message is received.2020-02-25T12:40:45.051+05:30Postback, Geo Enter, Geo Leave, OnThread Closed, and Custom Event
pciInfoContains the PCI information of the user.droppedAttachmentCountGeo Enter and Geo Leave
deviceIdUnique identification number of the device.fc5XXXXXXXXX25aGeo Enter and Geo Leave
versionVersion of the In-App REST API used for sending messages.1Geo Enter and Geo Leave
NameContains the name of the user.TomGeo Enter and Geo Leave
statusContains the status of the flow.Closed
titleContains the title nameBuy Now

Live Chat / In-App - Delivery Receipt

The following are the Live Chat / In-App delivery receipts payloads.

{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "timeStamp": "2022-01-17T16:08:10.787+05:30",
      "pushId": "dummy_data",
      "Description": "Submitted",
      "code": "7501",
      "deliveryChannel": "rt",
      "destination": "dummy_data",
      "destinationType": "customerid",
      "deviceid": "",
      "deliveryStatus": "Submitted"
    },
    "subtid": "dummy_data",
    "transid": "dummy_data",
    "callbackData": "",
    "correlationid": ""
  },
    "dataIntegration": {
      "context": {
        "Key": "Value",
        "Key2": "Value2"
      },
      "appContext": {
        "adminKey": "",
        "tenant_identifier": "dummyTenant"
      }
    }
  }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "timeStamp": "2022-01-17T16:08:10.896+05:30",
      "pushId": "",
      "Description": "Delivered",
      "code": "7500",
      "deliveryChannel": "rt",
      "destination": "dummy_data",
      "destinationType": "customerid",
      "deviceid": "dummy_data",
      "deliveryStatus": "Delivered"
    },
    "subtid": "dummy_data",
    "transid": "dummy_data",
    "callbackData": "",
    "correlationid": ""
  },
  "dataIntegration": {
    "dataIntegration": {
      "context": {
        "Key": "Value",
        "Key2": "Value2"
      },
      "appContext": {
        "adminKey": "",
        "tenant_identifier": "dummyTenant"
      }
    }
  }
}
{
  "deliveryInfoNotification": {
    "deliveryInfo": {
      "timeStamp": "2022-01-17T16:08:10.927+05:30",
      "pushId": "",
      "Description": "Read",
      "code": "7502",
      "deliveryChannel": "rt",
      "destination": "dummy_data",
      "destinationType": "customerid",
      "deviceid": "dummy_data",
      "deliveryStatus": "Read"
    },
    "subtid": "dummy_data",
    "transid": "dummy_data",
    "callbackData": "",
    "correlationid": ""
  },
  "dataIntegration": {
    "dataIntegration": {
      "context": {
        "Key": "Value",
        "Key2": "Value2"
      },
      "appContext": {
        "adminKey": "",
        "tenant_identifier": "dummyTenant"
      }
    }
  }
}

Live Chat / In-App - Delivery Receipt Descriptions

The following table contains the parameter descriptions of delivery receipts.

Field NameDescriptionExampleMessage Type
x-wx-gtridContains the global transaction ID between cross-products for a given request.d7XXXX76-3XXa-4XXe-9XX3-d6XXXXXXXXf9Common parameter for all delivery receipts.
deliveryInfoNotificationSystem variableN/ACommon parameter for all delivery receipts.
deliveryInfoSystem variableN/ACommon parameter for all delivery receipts.
timeStampTimestamp of the event2024-03-04T16:08:52.860+05:30Common parameter for all delivery receipts.
DescriptionDetailed description of the delivery status.Message length exceededCommon parameter for all delivery receipts.
codeStatus code as mentioned in the documentation7107Common parameter for all delivery receipts.
deliveryChannelChannel to be used to send messageIn-AppCommon parameter for all delivery receipts.
additionalinfoAdditional info such as details about the browser used to open a link in case of Click events.Common parameter for all delivery receipts.
destinationThe mobile number to which message will be sent.174XXXX6048Common parameter for all delivery receipts.
destinationTypeThis is always msisdn for In-App.customeridCommon parameter for all delivery receipts.
deliveryStatusStatus of messages once sentSubmittedCommon parameter for all delivery receipts.
subtidA unique transaction id will be generated as subtid for the flow level transactions(or node tid).27XXXX95-dXXb-4XXc-8XXc-61XXXXXXX8faCommon parameter for all delivery receipts.
transidUnique transaction reference id of the request.93XXXX0b-0XX0-4XXb-aXXd-37fXXXXXXX4dCommon parameter for all delivery receipts.
callbackDataData that you have configured to receive on the notify Url. This is configured as a part of the requestCallBackdataCommon parameter for all delivery receipts.
correlationidThe CorrelationID is a unique identifier that you can attach to every request as a reference a particular transaction or event. This is configured as a part of the request.InAppMTusingmsisdnCommon parameter for all delivery receipts.
dataIntegrationThe object contains key-value pairs which are added either by Data Stream admin or in flow and also app context object."dataIntegration": {    "context":
{     
"key1": "value1",
"key2": "value2",
"key3": "value3"   
},
“appContext”: {
}
}
Common parameter for all delivery receipts.
contextThe object contains key-value pairs which are added either by Data Stream admin or in flow."context": { 
"key1": "value1",
"key2": "value2",
"key3": "value3"   
}
Common parameter for all delivery receipts.
serviceIdContains the unique reference id of the service.12345Common parameter for all delivery receipts.
serviceNameContains the name of the service.My New ServiceCommon parameter for all delivery receipts.
flowIdContains the unique ID for the flow.54321Common parameter for all delivery receipts.
flowNameContains the name of the flow.Sample FlowCommon parameter for all delivery receipts.
messagingAPIIndicates whether the request is sent through messaging APItrue/falseCommon parameter for all delivery receipts.
appContextThe object is added as key-value pair either by Data Stream admin or in flow.“appContext“: {
“key1”: “value1“,
“key2”: “value2“
}
Common parameter for all delivery receipts.

Live Chat / In-App - Outbound Message

The following are the Live Chat / In-App outbound message payloads.

{
  "transid": "1cXXXXcd-7XX0-4XX2-9XX7-24XXXXXXXXa4",
  "channel": "RT",
  "extras": {
    
  },
  "validateDestination": false,
  "dataIntegration": {
    "context": {
      "check": "Data Stream Send Node",
      "serviceId": "12345",
      "serviceName": "My New Service",
      "flowId": "54321",
      "flowName": "Sample Flow",
      "messagingAPI": "false"
    },
    "appContext": {
      
    }
  },
  "priority": 5,
  "message": "Send Node flow executed 01-04-2024",
  "userId": "2XX0",
  "tid": "1cXXXXcd-7XX0-4XX2-9XX7-249XXXXXXXXa4",
  "threadid": "b5XXXX01-c2ee-4XXc-aXX0-01XXXXXXXX0b",
  "clientUUID": "0aXXXX00-98ef-4XX5-bXX9-5eXXXXXXXX83",
  "x-wx-gtrid": "7aXXXXa6-bXX5-6XX0-aXX8-bcXXXXXXXX6f",
  "appId": "NEXXXXXX34",
  "x_msg_seq": 0,
  "serviceKey": "27XXXX75-eXX3-1XXe-aXX0-02XXXXXXXXd5"
}
{
"channel": "RT",
  "extras": {
    
  },
  "validateDestination": false,
  "dataIntegration": {
    "context": {
      "check": "Send Node with file",
      "serviceId": "12345",
      "serviceName": "Inapp_First",
      "flowId": "54321",
      "flowName": "DS2",
      "messagingAPI": "false"
    },
    "appContext": {
      
    }
  },
  "priority": 5,
  "message": "Send Node with file",
  "userId": "2XX0",
  "tid": "1cXXXXcd-7XX0-4XX2-9XX7-249XXXXXXXXa4",
  "threadid": "b5XXXX01-c2ee-4XXc-aXX0-01XXXXXXXX0b",
  "clientUUID": "0aXXXX00-98ef-4XX5-bXX9-5eXXXXXXXX83",
  "x-wx-gtrid": "7aXXXXa6-bXX5-6XX0-aXX8-bcXXXXXXXX6f",
  "attachment": [
    {
      "preview": "https://sample-videos.com/img/Sample-jpg-image-50kb.jpg",
      "file": "https://sample-videos.com/img/Sample-jpg-image-50kb.jpg",
      "contentType": "image/jpg"
    }
  ],
  "appId": "NEXXXXXX34",
  "x_msg_seq": 0,
  "serviceKey": "27XXXX75-eXX3-1XXe-aXX0-02XXXXXXXXd5"
}
{
  "transid": "a3XXXX3c-5XX0-4XXe-aXXd-edXXXXXXXX12",
  "channel": "RT",
  "extras": {
    
  },
  "validateDestination": false,
  "dataIntegration": {
    "context": {
      "Check": "Post Back Send Node",
      "serviceId": "12345",
      "serviceName": "InappR_First",
      "flowId": "54321",
      "flowName": "DS3",
      "messagingAPI": "false"
    },
    "appContext": {
      
    }
  },
  "priority": 5,
  "message": "Generic template",
  "userId": "2XX0",
  "tid": "1cXXXXcd-7XX0-4XX2-9XX7-249XXXXXXXXa4",
  "threadid": "b5XXXX01-c2ee-4XXc-aXX0-01XXXXXXXX0b",
  "clientUUID": "0aXXXX00-98ef-4XX5-bXX9-5eXXXXXXXX83",
  "x-wx-gtrid": "7aXXXXa6-bXX5-6XX0-aXX8-bcXXXXXXXX6f",
  "attachment": [
    {
      "templateType": "generic",
      "payload": {
        "reference": "Consent",
        "elements": [
          {
            "buttons": [
              {
                "identifier": "12124",
                "payload": "",
                "type": "templatePostback",
                "title": "Buy Now",
                "url": ""
              }
            ],
            "subtitle": "Subtitle",
            "imageUrls": [
              "https://www.fnordware.com/superpng/pnggrad16rgb.png"
            ],
            "title": "product"
          }
        ]
      },
      "contentType": "template"
    }
  ],
  "appId": "NEXXXXXX34",
  "x_msg_seq": 0,
  "serviceKey": "27XXXX75-eXX3-1XXe-aXX0-02XXXXXXXXd5"
}
{
  "quickReplies": {
    "reference": "Consent",
    "options": [
      {
        "identifier": "12321",
        "payload": "",
        "imageUrl": "https://www.fnordware.com/superpng/pnggrad16rgb.png",
        "type": "quickReplyPostback",
        "title": "Yes"
      }
    ]
  },
  "transid": "2eXXXX09-1XX1-4XX9-9XX7-93XXXXXXXX25",
  "channel": "RT",
  "extras": {
    
  },
  "validateDestination": false,
  "dataIntegration": {
    "context": {
      "check": "Send Node Quick Reply",
      "serviceId": "12345",
      "serviceName": "Inapp_First",
      "flowId": "54321",
      "flowName": "DS3",
      "messagingAPI": "false"
    },
    "appContext": {
      
    }
  },
  "priority": 5,
  "message": "Quick reply Post back",
  "userId": "2XX0",
  "tid": "1cXXXXcd-7XX0-4XX2-9XX7-249XXXXXXXXa4",
  "threadid": "b5XXXX01-c2ee-4XXc-aXX0-01XXXXXXXX0b",
  "clientUUID": "0aXXXX00-98ef-4XX5-bXX9-5eXXXXXXXX83",
  "x-wx-gtrid": "7aXXXXa6-bXX5-6XX0-aXX8-bcXXXXXXXX6f",
  "appId": "NEXXXXXX34",
  "x_msg_seq": 0,
  "serviceKey": "27XXXX75-eXX3-1XXe-aXX0-02XXXXXXXXd5"
}
{
  "transid": "2eXXXX09-1XX1-4XX9-9XX7-93XXXXXXXX25",
  "channel": "RT",
  "extras": {
    
  },
  "validateDestination": false,
  "dataIntegration": {
    "context": {
      "check": "DS send node form",
      "serviceId": "12345",
      "serviceName": "Inapp_First",
      "flowId": "54321",
      "flowName": "DSFlow",
      "messagingAPI": "false"
    },
    "appContext": {
      
    }
  },
  "priority": 1,
  "userId": "2XX0",
  "tid": "1cXXXXcd-7XX0-4XX2-9XX7-249XXXXXXXXa4",
  "threadid": "b5XXXX01-c2ee-4XXc-aXX0-01XXXXXXXX0b",
  "clientUUID": "0aXXXX00-98ef-4XX5-bXX9-5eXXXXXXXX83",
  "x-wx-gtrid": "7aXXXXa6-bXX5-6XX0-aXX8-bcXXXXXXXX6f",
  "attachment": [
    {
      "templateType": "form",
      "payload": {
        "fields": [
          {
            "name": "Name",
            "description": "enter name",
            "label": "Name",
            "type": "text",
            "mandatory": false
          },
          {
            "name": "Email",
            "description": "email",
            "label": "Email",
            "type": "email",
            "mandatory": false
          },
          {
            "name": "Gender",
            "options": [
              "Male",
              "Female"
            ],
            "description": "",
            "label": "Gender",
            "type": "dropdown",
            "mandatory": false
          }
        ],
        "title": "Student Form"
      },
      "templateId": "0W1XPWN2ND",
      "contentType": "template"
    }
  ],
  "appId": "NEXXXXXX34",
  "x_msg_seq": 0,
  "serviceKey": "27XXXX75-eXX3-1XXe-aXX0-02XXXXXXXXd5"

Live Chat / In-App - Outbound Message Descriptions

The following table contains the parameter descriptions of outbound messages.

Field NameDescriptionsExampleEvent Type
transidUnique transaction reference id of the request.93XXXX0b-0XX0-4XXb-aXXd-37fXXXXXXX4dText, File, Postback, and Form Response
channelThis is “rt” in case of Live Chat and In-App Messaging.RTMCommon parameter for all outbound message types.
extrasContains the additional information like some user-specific property, or any custom parameter that is required to display the message in a certain fashion within the app{     
"key1": "value1",
"key2": "value2",
"key3": "value3"   
}
Common parameter for all outbound message types.
validateDestinationSystem Variabletrue/falseCommon parameter for all outbound message types.
dataIntegrationThe object contains key-value pairs which are added either by Data Stream admin or in flow and also app context object."dataIntegration": {    "context":
{     
"key1": "value1",
"key2": "value2",
"key3": "value3"   
},
“appContext”: {
}
}
Common parameter for all outbound message types.
contextThe object contains key-value pairs which are added either by Data Stream admin or in flow."context": { 
"key1": "value1",
"key2": "value2",
"key3": "value3"   
}
Common parameter for all outbound message types.
serviceIdContains the unique reference id of the service.12345Common parameter for all outbound message types.
serviceNameContains the name of the service.My New ServiceCommon parameter for all outbound message types.
flowIdContains the unique ID for the flow.54321Common parameter for all outbound message types.
flowNameContains the name of the flow.Sample FlowCommon parameter for all outbound message types.
messagingAPIIndicates whether the request is sent through messaging API.true/falseCommon parameter for all outbound message types.
appContextThe object is added as key-value pair either by Data Stream admin or in flow.“appContext“: {
“key1”: “value1“,
“key2”: “value2“
}
Common parameter for all outbound message types.
priorityThis parameter is used to specify the message priority.1Common parameter for all outbound message types.
messageContains the text message sent by the user.Hi this is a LiveChat messageCommon parameter for all outbound message types.
userIdUnique identification number of the user.2480Common parameter for all outbound message types.
tidTransaction ID234XXXXX-dXXX-4XXX-9XXX-c4bXXXXXXX20Common parameter for all outbound message types.
threadidUnique identification number of the thread.12eXXXX26-9XX1-4XX7-bXXa-d9XXXXXXXX13Common parameter for all outbound message types.
clientUUIDContains the clients unique identification number.9eXXXX26-9XX1-4XX7-bXXa-d9XXXXXXXXbdCommon parameter for all outbound message types.
x-wx-gtridContains the global transaction ID between cross-products for a given request.d7XXXX76-3XXa-4XXe-9XX3-d6XXXXXXXXf9Common parameter for all outbound message types.
appIdContains the application IDa_63XXXXXXXXXXXXX000Common parameter for all outbound message types.
x_msg_seqThis parameter represents whether the request should process sequence or not.0Common parameter for all outbound message types.
serviceKeyUnique identification number for the service.02XXXXd0-5XX7-1XXd-bXX8-12XXXXXXXX6dCommon parameter for all outbound message types.
templateTypeContains the information about the template type.
Generic or Form
"templateType": "form",

"templateType": "generic",
payloadContains the information about the payload.payload": { "reference": "T-shirt options", "elements": [ //Maximum of 8 elements can be added. { "title": "Classic White T-Shirt", "subtitle": "Clothing", "imageUrls": [ //Maximum of 5 images can be added. "https://e7.pngegg.com/pngimages/464/597/png-clipart-logo-cisco-systems-router-network-switch-packet-tracer-logo-hmi-emblem-text-thumbnail.png" ], "buttons": [ //Maximum of 3 buttons can be added. { "type": "webUrl", "identifier": "21221-323232-231212", "url": "https://upload.wikimedia.org/wikipedia/commons/6/6a/PNG_Test.png", "title": "View Item", "payload": {} }
typeDefines the type of the button. In case of a quick reply, it should be quickReplyPostback.quickReplyPostbackQuick Reply
titleSpecifies the bubble title.Student FormForm Response