Skip to content

Start Contact Recording

connect_start_contact_recording R Documentation

Starts recording the contact:

Description

Starts recording the contact:

  • If the API is called before the agent joins the call, recording starts when the agent joins the call.

  • If the API is called after the agent joins the call, recording starts at the time of the API call.

StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

Usage

connect_start_contact_recording(InstanceId, ContactId, InitialContactId,
  VoiceRecordingConfiguration)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

ContactId

[required] The identifier of the contact.

InitialContactId

[required] The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

VoiceRecordingConfiguration

[required] The person being recorded.

Value

An empty list.

Request syntax

svc$start_contact_recording(
  InstanceId = "string",
  ContactId = "string",
  InitialContactId = "string",
  VoiceRecordingConfiguration = list(
    VoiceRecordingTrack = "FROM_AGENT"|"TO_AGENT"|"ALL"
  )
)