---
schema_version: "1"
id: 4d5877e04bc14f31482d4fe18714fe86780478e7cd3cc7da46acfa5eda492c36
title: VoiceMailContent
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_voicemailcontent.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_voicemailcontent.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 460852032bd42ef87a6cc7373bb3b7110c316e71d7305b9e6c1136e1b2f92987
description: Represents a voicemail message left by a caller to the context user.
---
# VoiceMailContent

Represents a voicemail message left by a caller to the context user.

## Supported Calls

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

## Special Access Rules

As of Spring ’20 and later, only your Salesforce org's internal users can access this object.

## Fields

| Field Name | Details |
| --- | --- |
| DurationInSeconds | 
Type

int

Properties

Create, Filter, Group, Sort, Update

Description

The duration of the voicemail message in seconds.



 |
| FirstHeardDateTime | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The time and date when the user first listened to the voicemail message.



 |
| MediaContentId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the related media content, a [ContentDocument](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_contentdocument.htm). The record counts toward your org’s file storage quota.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the voicemail message.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the owner of the voicemail message.



 |
| VoiceCallId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the related Dialer call.





 |

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

[VoiceMailContentOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[VoiceMailContentShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.