---
schema_version: "1"
id: 882264624847dbae2943bc09d733979921f02666590b3b559e2f86faa90263c9
title: VoiceMailGreeting
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_voicemailgreeting.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_voicemailgreeting.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 74762272f194d18709b133e59805f49891dd9d8faaf83d62d4d929da0742d1f4
description: Represents a custom greeting message that plays upon reaching a user’s voicemail. This object is available in API version 41.0 and later.
---
# VoiceMailGreeting

Represents a custom greeting message that plays upon reaching a user’s voicemail. This object is available in API version 41.0 and later.

## 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 the voicemail greeting message in seconds.



 |
| IsDefault | 

Type

boolean

Properties

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

Description

Whether the greeting is the user’s default greeting (true) or not (false).



 |
| MediaContentId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

ID of the related content document.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the voicemail greeting message.



 |
| OwnerId | 

Type

reference

Properties

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

Description

ID of the voicemail greeting message owner.



 |

## Associated Objects

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

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

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