---
schema_version: "1"
id: 038115fe13ecd55405ba372935e775888c8f4b17a8621992ac7d3cd89c99b2fe
title: LiveChatVisitor
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_livechatvisitor.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_livechatvisitor.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e8b3088ed1e1d4ef5af153614568b56b99c57aec505c0cec50ea0ae82b3caf87
description: Represents a website visitor who has started or tried to start a chat session. This object is available in API version 24.0 and later.
---
# LiveChatVisitor

Represents a website visitor who has started or tried to start a chat session. This object is available in API version 24.0 and later.

## Supported Calls

create(), delete(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

| Field Name | Details |
| --- | --- |
| LastReferencedDate | 
Type

date

Properties

Filter, Nillable, Sort, Update

Description

The timestamp when the current user last accessed this record, a record related to this record, or a list view.



 |
| LastViewedDate | 

Type

date

Properties

Filter, Nillable, Sort, Update

Description

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, Sort

Description

The name of the visitor



 |
| SessionKey | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The session key used to uniquely identify the visitor.



 |

## Usage

Use this object to query and manage live chat visitors.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[LiveChatVisitorChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 62.0)

Change events are available for the object.