NAME
Twilio::Rest::Api::V2010::Account::Call::Transcription - The Transcription resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $transcription = $client->calls($call_sid)->transcriptions->create(\%options);
$client->calls($call_sid)->transcriptions($sid)->update($status);
DESCRIPTION
This file holds TranscriptionList, TranscriptionContext and TranscriptionInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
TranscriptionList
Returned by $client->calls($call_sid)->transcriptions. See also Twilio::ListResource.
create
my $transcription = $client->calls($call_sid)->transcriptions->create(\%options);
Create a Transcription. Returns a TranscriptionInstance.
The options are:
conversation_configuration-
The ID of the Conversations Configuration for customizing conversation behavior in Intelligence Service
conversation_id-
The ID of the Conversation for associating this Transcription with an existing Conversation in Intelligence Service
enable_automatic_punctuation-
The provider will add punctuation to recognition result
enable_provider_data-
Whether the callback includes raw provider data.
hints-
A Phrase contains words and phrase "hints" so that the speech recognition engine is more likely to recognize them.
inbound_track_label-
Friendly name given to the Inbound Track
intelligence_service-
The SID or unique name of the Intelligence Service for persisting transcripts and running post-call Language Operators
language_code-
Language code used by the transcription engine, specified in BCP-47 format
name-
The user-specified name of this Transcription, if one was given when the Transcription was created. This may be used to stop the Transcription.
outbound_track_label-
Friendly name given to the Outbound Track
partial_results-
Indicates if partial results are going to be sent to the customer
profanity_filter-
indicates if the server will attempt to filter out profanities, replacing all but the initial character in each filtered word with asterisks
speech_model-
Recognition model used by the transcription engine, among those supported by the provider
status_callback_method-
The http method for the status_callback (one of GET, POST). One of
GETorPOST. status_callback_url-
Absolute URL of the status callback.
track-
One of
inbound_track,outbound_trackorboth_tracks. transcription_configuration_id-
The ID of the RealTimeTranscription Configuration for configuring all the non-default behaviors in one go.
transcription_engine-
Definition of the transcription engine to be used, among those supported by Twilio
get_context
my $context = $client->calls($call_sid)->transcriptions->get_context($sid);
Returns a TranscriptionContext, and makes no request.
TranscriptionContext
Returned by $client->calls($call_sid)->transcriptions($sid). It makes no request until one of these methods is called.
update
my $transcription = $client->calls($call_sid)->transcriptions($sid)->update($status);
Stop a Transcription using either the SID of the Transcription resource or the name used when creating the resource. Returns a TranscriptionInstance.
The required values are:
TranscriptionInstance
See also Twilio::InstanceResource.
It has update, which work as they do on the context.
Its fields are:
- account_sid
-
The SID of the Account that created this Transcription resource.
- call_sid
-
The SID of the Call the Transcription resource is associated with.
- date_updated
-
The date and time in GMT that this resource was last updated, specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- name
-
The user-specified name of this Transcription, if one was given when the Transcription was created. This may be used to stop the Transcription.
- sid
-
The SID of the Transcription resource.
- status
-
One of
in-progressorstopped. - uri
-
No description in the specification.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.