Connectors+Monitoring+Unauth
Welcome to the guide on Connectors, Monitoring, and Unauthenticated Messaging with LivePerson. This document offers essential insights and instructions for leveraging these features to optimize customer engagement strategies.
1. Enabling in Houston
To enable in Houston, navigate to App Management → Custom Connector and edit the fields for 'client_name' and 'description'.
2. Enabling Unauthenticated SDEs in Houston
To enable unauthenticated SDEs in Houston, go to Site Settings → le.agent.messaging.sdes.
3. Enabling Unauthenticated Messaging in Houston
To enable unauthenticated messaging in Houston, access AC Features → Messaging.Un_Auth_Messaging. Additionally, create a connector in ACR-0 Connector.
4. Monitoring API
For monitoring purposes, refer to the Monitoring API documentation available at https://developers.liveperson.com/rt-interactions-monitoring-overview.html.
Purpose:
The purpose of the Monitoring API is to target and engage customers who are not using a specific tag.
Endpoints:
- POST https://va-a.v.liveperson.net/api/account/62895560/app/8de29e3d-25b1-4d08-b713-8331ab222bfa/engagement?v=1.0
- POST https://va-a.v.liveperson.net/api/account/62895560/app/8de29e3d-25b1-4d08-b713-8331ab222bfa/engagement?v=1.0&vid=I2NzQ2YzBkZGEzZDMzYjIx&sid=NJIm1tJFT5SV6dTEkmNAjA
To update unauthenticated SDEs for both authenticated and non-authenticated conversations, use the following endpoint:
5. Test - Targeting
To test targeting, follow these steps:
- Create engagements, some with SDE value associated with them and some with sections.
- Utilize the Monitoring API to retrieve engagement by SDE.
- Utilize the Monitoring API to retrieve engagement by section/entry point.
javascript:
{"kind":"req","type":"cm.ConsumerRequestConversation",
"body":
{
"conversationContext":
{
"type":"SharkContext",
"visitorId":<svid from the method object>,
"sessionId":<ssid from the method object>,
"interactionContextId":<scid from the method object>
},
"campaignInfo":
{
"campaignId":<cid from the method object>,
"engagementId":<eid from the method object>
}
},
"id":<request id>
}
7. Test - authenticated conversation
Start authenticated conversation
Get the customerId
Get the vid and sid from the page
Use Report API call to set SDEs
lpTag.taglets.lp_monitoringSDK.getSid()
lpTag.taglets.lp_monitoringSDK.getVid()
POST
https://va-a.v.liveperson.net/api/account/62895560/app/8de29e3d-25b1-4d08-b713-8331ab222bfa/report?v=1.0&vid=I2NzQ2YzBkZGEzZDMzYjIx&sid=NJIm1tJFT5SV6dTEkmNAjA
8. Test - non - authenticated conversation
- Start non-auth conversation
- Get the vid and sid from the page
- Use Report API call to set SDEs - remove consumerId from the body and use only sid and vid
9. Known current gap
In unauthenticated conversations, customerId is not exposed. Therefore Monitoring API cannot be used to update SDEs on the conversation.
It is possible to update SDEs with Monitoring API only with vid and sid → it will show in Agent UI, but will not be available to customer agent widgets (agent widget SDK). Also will show in Messaging Interactions API.
Bot has access to sid, vid - therefore can make that update.
Agent widget SDK doesn't have access to sid and vid - therefore cannot make this update.
Product Fix coming in October - CustomerId will be exposed for unauthenticated conversations. This will allow to use Monitoring API to update SDEs by customerId (just like for auth conversations).
10. Method ‘report’ - CORS issue
Use as described below to avoid CORS issue.
Use POST requests with X-Http-Method-Override=PUT
.
Set appId on connector api conversation request: you have to set client properties in the header of the request as seen here:

There are other parameters you can set as well:
"deviceFamily": "DESKTOP",
"os": "WINDOWS",
"browser": "",
"appId": "test app id",
"appVersion": "",
"deviceModel": "",
"deviceManufacture": "",
"timeZone": "",
"browserVersion": "",
"integrationVersion": "",
"integration": "WEB_SDK",
"osName": "",
"osVersion": ""