---
schema_version: "1"
id: 81325331737e8ccbf25348ede53fa31e96f1eecb6f8c644ef37c91d4265b6085
title: VoiceMailMessage
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_voicemailmessage.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_voicemailmessage.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9bd430936a4a3fd0115ffad0181228065e3f7bb464b47bc4bcf306e6a1477ff4
description: Represents a prerecorded voicemail message.
---
# VoiceMailMessage

Represents a prerecorded voicemail message.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), 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 a prerecorded voicemail message in seconds.



 |
| IsDefault | 

Type

boolean

Properties

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

Description

Specifies whether the message is the context user’s default voicemail drop message.



 |
| MediaContentId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the file.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the prerecorded voicemail message.



 |
| OwnerId | 

Type

reference

Properties

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

Description

The owner of the prerecorded voicemail message.



 |

## Associated Objects

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

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

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