---
schema_version: "1"
id: 43c6e7021fd1675275a87bdcad2aaf2506232294312fb9d436e0267dde942159
title: ConversationContextEntry
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_conversationcontextentry.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_conversationcontextentry.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 89146e625392fd437cdd2263703bd490f1cd362e39be87dcdc73916d91343ed7
description: Represents the context of a message or an event in the chat history between an agent and a messaging user. This object is available in API version 47.0 and later.
---
# ConversationContextEntry

Represents the context of a message or an event in the chat history between an agent and a messaging user. This object is available in API version 47.0 and later.

## Supported Calls

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

## Special Access Rules

As of Summer ’20 and later, only authenticated internal and external users can access this object.

## Fields

| Field | Details |
| --- | --- |
| ConversationContextEntryName | 
Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The autogenerated number of the entry.



 |
| CustomDetailContextKey | 

Type

textarea

Properties

Create, Nillable

Description

The key or name of the pre-chat field specified by the admin in the pre-chat implementation, for example, customer\_email.



 |
| CustomDetailContextValue | 

Type

textarea

Properties

Create, Nillable

Description

The value entered in the pre-chat field by a user before starting the chat.



 |
| ParentId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The Conversation ID this entry is associated with.



 |

## 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.

[ConversationContextChangeEvent](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.