Please note that this API relates to LivePersons legacy chat product which receives limited support and will be deprecated in the future.
It is recommended to build future integrations on top of LivePersons Connector API and Messaging Window API instead.
Returns the visitor's name that was set by the visitor. The default is "you".
Request
| Method | URL |
|---|---|
| GET | https://{domain}/api/account/{accountId}/chat/{chatId}/info/visitorName?v=1&NC=true |
Formats
- XML
- JSON
Request Headers
| Header | Description |
|---|---|
| Authorization | LivePerson appKey=721c180b09eb463d9f3191c41762bb68 |
| Content-Type | application/json |
| Accept | application/json |
Response
| Response Code | Description |
|---|---|
| 200 | Successful |
Response JSON Example:
{
"visitorName": "You"
}