Call Recordings
- recordingLocation: A complete call recording URL. This URL belongs to your domain, and can be accessed only if the agent is logged into the telephony system through SSO or a login page. Otherwise, the agent sees a message indicating that they don’t have access or need to log into the phone system. This URL can be a public URL or a URL only accessible through an agent SSO or login page.
- totalHoldDuration: The total number of seconds the call was on hold. If an audio recording doesn’t include hold time, this value is zero.
- agentInteractionDuration: The total number of seconds the call wasn’t on hold.

Example and testing: See Use the Demo Connector for a demonstration of calling Update Voice Call API with a recording URL and
duration details. The recording link is capped at 1,000 characters and should not exceed this
length. The Call Recording section in the Voice Call Simulator lets you experiment with the
recording feature.
getSignedRecordingUrl
In order to provide recording URLs based on the vendorCallKey, Salesforce Voice Call ID, or recordingUrl inserted via Update Voice Call API, vendors can implement Service Cloud Connector API getSignedRecordingUrl in their connectors. This API accepts vendorCallKey, callId, recordingUrl as parameters and returns a SignedRecordingUrlResult object.
The vendor specifies hasSignedRecordingUrl as true. When the recording component loads, Salesforce issues a request to the Service Cloud Connector API getSignedRecordingUrl to get the recording URL for the Voice Call. Using this method, the vendor can provide updated recording URLs when requested by the Voice Call Recording component.
// Create a signed recording url capability
function getCapabilities() {
return new CapabilitiesResult({
hasSignedRecordingUrl: true
});
}
function getSignedRecordingUrl(recordingUrl, vendorCallKey, callId) {
// Implementation goes in here
}
Pause and Resume Recording
Agents can pause and resume recording while on a call. This feature can be used when call participants want to share confidential details and don’t want them to be recorded.
Implement these Service Cloud Connector APIs to allow users to pause and resume recording:
- pauseRecording(call)
- resumeRecording(call)

Universal Call Recording Playback
Contact centers can be configured so that you can share voice calls (and the associated voice call recordings) with other users in your contact center. This feature can be enabled with the Universal Call Recording Access checkbox on the contact center record details page.
To view this configuration setting, the following requirements must be met:
- Partners must set the supportsUniversalCallRecordingAccess capability to true in their ConversationVendorInfo object.
- The contact center should be connected to the partner telephony system.
- The Apex integration class must implement the RecordingMediaProvider interface. This interface includes the getSignedUrls method, which is called to fetch the signed recording URL from the partner telephony system for loading the voice call recording playback.
After these requirements are met, check Let any Salesforce user listen to this contact center’s recordings.
When a warning dialog appears, click Allow.