---
schema_version: "1"
id: 0503091908dad913f9ac849f79cdcbbf47ec653c22c0ad8bc9f3ed246f7e8bc9
title: VoiceCallRecording
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_voicecallrecording.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_voicecallrecording.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 86c7056940f1cea0899371f8b90c95eb8bfd780423d9f84b543b39ff9044f833
description: Represents a call recording in Salesforce Voice and Sales Dialer. Call recordings for Salesforce Voice with Amazon Connect and for Salesforce Voice with Partner Telephony from Amazon Connect are stored in S3 buckets on your Amazon Web Services (AWS) account and can be accessed via AWS. Call recordings for Sales Dialer are saved as files in Salesforce.
---
# VoiceCallRecording

Represents a call recording in Salesforce Voice and Sales Dialer. Call recordings for Salesforce Voice with Amazon Connect and for Salesforce Voice with Partner Telephony from Amazon Connect are stored in S3 buckets on your Amazon Web Services (AWS) account and can be accessed via AWS. Call recordings for Sales Dialer are saved as files in Salesforce.

## 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 total length (in seconds) of the voice call recording.

This value depends on which parameters are passed to the PATCH /telephony/v1/voiceCalls/{CALL ID} API.

- If the totalRecordingDuration parameter is passed, then DurationInSeconds = totalRecordingDuration.
- If the agentInteractionDuration and totalHoldDuration parameters are passed, then DurationInSeconds = agentInteractionDuration + totalHoldDuration.
- If the agentInteractionDuration, totalHoldDuration, and totalRecordingDuration parameters are passed, then DurationInSeconds = totalRecordingDuration.





 |
| IntelligenceScore | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The intelligence score of the recording.



 |
| IsConsented | 

Type

boolean

Properties

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

Description

Whether the call recording was indicated as consented or not.



 |
| MediaContentId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the related media content, a ContentDocument. The record counts toward your org’s file storage quota.

This is a relationship field.

Relationship Name

MediaContent

Relationship Type

Lookup

Refers To

ContentDocument



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the call recording file.



 |
| OwnerId | 

Type

reference

Properties

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

Description

The ID of the owner of the call recording.

This is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| RecordingStartTime | 

Type

datetime

Properties

Filter, Nillable, Sort

Description

The time and date that the recording was started.



 |
| UploadDateTime | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The time and date that the recording was uploaded.



 |
| VoiceCallId | 

Type

reference

Properties

Filter, Group, Sort

Description

Required. The ID of the related phone call. The property nillable has been removed in API version 50.0 and later.

This is a relationship field.

Relationship Name

VoiceCall

Relationship Type

Lookup

Refers To

VoiceCall



 |

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

[VoiceCallRecordingChangeEvent](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 48.0)

Change events are available for the object.

[VoiceCallRecordingOwnerSharingRule](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. Removed in API version 50.0 and later.

[VoiceCallRecordingShare](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. Removed in API version 50.0 and later.