---
schema_version: "1"
id: d2df91580d0b63468feb4cdbce976fac105ec3a096833cf695e2264c25fde93b
title: Messaging Session DMO
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-dmo-mapping/guides/std_dmos/c360dm-si-messagingsessiondmo-dmo.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-messagingsessiondmo-dmo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bca59347ae2d526dca3f009287002320b7f0c0a33ae3cb80ca85454e5e5addfb
products:
  - Data 360 DMO and Mapping Guide
  - Data 360 Developer Documentation
---
# Messaging Session DMO

## Object Properties

**Object API Name:** `ssot__MessagingSession__dlm`  
**Category:** Unassigned  
**Availability:** Available in 254 and later versions  
**Primary Key Field:** Id  

## Relationships

- **ConversationId** has a FOREIGNKEY relationship with the [Conversation DMO](https://developer.salesforce.com/docs/data/data-cloud-dmo-mapping/guide/c360dm-si-conversationdmo-dmo.md) `Id` field.


## Fields

- [AcceptedDateTime](#accepteddatetime)
- [AgentType](#agenttype)
- [cdp_sys_record_currency](#cdp_sys_record_currency)
- [ConversationId](#conversationid)
- [DataSourceId](#datasourceid)
- [DataSourceObjectId](#datasourceobjectid)
- [EngagementChannelId](#engagementchannelid)
- [EngagementChannelType](#engagementchanneltype)
- [EngmtChannelIntentDescription](#engmtchannelintentdescription)
- [Id](#id)
- [InternalOrganizationId](#internalorganizationid)
- [KQ_ConversationId](#kq_conversationid)
- [KQ_Id](#kq_id)
- [LastReferencedDateTime](#lastreferenceddatetime)
- [LastViewedDateTime](#lastvieweddatetime)
- [MessagingSessionEndTime](#messagingsessionendtime)
- [MessagingSessionStartTime](#messagingsessionstarttime)
- [MessagingSessionStatus](#messagingsessionstatus)
- [Origin](#origin)
- [OwnerId](#ownerid)
- [PreviewDetailsText](#previewdetailstext)
- [SoftwareApplicationId](#softwareapplicationid)

### AcceptedDateTime

- **Field API Name:** `ssot__AcceptedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The time when an agent accepts an incoming Messaging session.

### AgentType

- **Field API Name:** `ssot__AgentType__c`
- **Data Type:** TEXT
- **Description:** Alphanumeric string representing the agent type.

### cdp_sys_record_currency

- **Field API Name:** `ssot__cdp_sys_record_currency__c`
- **Data Type:** TEXT
- **Description:** System-generated metadata field that stores a 3-letter ISO currency code.

### ConversationId

- **Field API Name:** `ssot__ConversationId__c`
- **Data Type:** TEXT
- **Description:** The ID of the related conversation. Available in API version 55.0 and later.

### DataSourceId

- **Field API Name:** `ssot__DataSourceId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### DataSourceObjectId

- **Field API Name:** `ssot__DataSourceObjectId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### EngagementChannelId

- **Field API Name:** `ssot__EngagementChannelId__c`
- **Data Type:** TEXT
- **Description:** A provider of a form of information delivery defined by an Engagement Channel Type such as FedEx for postal mail, or Salesforce for Web pages; or a Sender Code for an Engagement Channel Type that supports them ( WhatsApp and SMS).

### EngagementChannelType

- **Field API Name:** `ssot__EngagementChannelType__c`
- **Data Type:** TEXT
- **Description:** Type of channel through which the engagement occurred, such as email, SMS, or push notification.

### EngmtChannelIntentDescription

- **Field API Name:** `ssot__EngmtChannelIntentDescription__c`
- **Data Type:** TEXT
- **Description:** The purpose or intention of the associated Engagement Channel.

### Id

- **Field API Name:** `ssot__Id__c`
- **Data Type:** TEXT
- **Description:** Required. A unique, system-generated identifier for this MessagingSession record. Maximum size is 15 characters.

### InternalOrganizationId

- **Field API Name:** `ssot__InternalOrganizationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.

### KQ_ConversationId

- **Field API Name:** `KQ_ConversationId__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for ConversationId

### KQ_Id

- **Field API Name:** `KQ_Id__c`
- **Data Type:** TEXT
- **Description:** Key Qualifier system field for Id

### LastReferencedDateTime

- **Field API Name:** `ssot__LastReferencedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The date and time of the last referenced date time.

### LastViewedDateTime

- **Field API Name:** `ssot__LastViewedDateTime__c`
- **Data Type:** DATETIME
- **Description:** The date and time of the last viewed date time.

### MessagingSessionEndTime

- **Field API Name:** `ssot__MessagingSessionEndTime__c`
- **Data Type:** DATETIME
- **Description:** The time when the Messaging session ended.

### MessagingSessionStartTime

- **Field API Name:** `ssot__MessagingSessionStartTime__c`
- **Data Type:** DATETIME
- **Description:** The time when the Messaging session started.

### MessagingSessionStatus

- **Field API Name:** `ssot__MessagingSessionStatus__c`
- **Data Type:** TEXT
- **Description:** The status of the Messaging session. Possible values are: new, active, consent, waiting, paused, inactive, ended, error.

### Origin

- **Field API Name:** `ssot__Origin__c`
- **Data Type:** TEXT
- **Description:** The origin of this Messaging session. Possible values are: - AgentInitiated - ConversationClose—Messaging user deleted the conversation in Apple Messages - ConversationControlLost—Third-party bot resumes control from Salesforce bot or agent - Help - InboundInitiated - OptIn—Opt In Status Change - OptOut—Opt Out Status Change - TriggeredOutboundMessaging sessions can’t be created using Apex code. They can be created only through customer initiation or by using Process Builder, flows, or the Start Conversation action.

### OwnerId

- **Field API Name:** `ssot__OwnerId__c`
- **Data Type:** TEXT
- **Description:** The ID of the owner associated with this Messaging session.

### PreviewDetailsText

- **Field API Name:** `ssot__PreviewDetailsText__c`
- **Data Type:** TEXT
- **Description:** Alphanumeric string representing the preview details text.

### SoftwareApplicationId

- **Field API Name:** `ssot__SoftwareApplicationId__c`
- **Data Type:** TEXT
- **Description:** A unique, system-generated identifier for this record.
