NAME
Twilio::Rest::Api::V2010::Account::Recording::Transcription - The Transcription resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $transcription ($client->recordings($recording_sid)->transcriptions->read({}, 20)) {
...
}
my $transcription = $client->recordings($recording_sid)->transcriptions($sid)->fetch;
$client->recordings($recording_sid)->transcriptions($sid)->delete;
DESCRIPTION
References to text transcriptions of call recordings
This file holds TranscriptionList, TranscriptionPage, TranscriptionContext and TranscriptionInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
TranscriptionList
Returned by $client->recordings($recording_sid)->transcriptions. See also Twilio::ListResource.
read
my @records = $client->recordings($recording_sid)->transcriptions->read(\%options, $limit, $page_size);
Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->recordings($recording_sid)->transcriptions->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->recordings($recording_sid)->transcriptions->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->recordings($recording_sid)->transcriptions->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->recordings($recording_sid)->transcriptions->get_context($sid);
Returns a TranscriptionContext, and makes no request.
TranscriptionPage
A Twilio::Page of TranscriptionInstance objects.
records_key
build_instance
Used by Twilio::Page.
TranscriptionContext
Returned by $client->recordings($recording_sid)->transcriptions($sid). It makes no request until one of these methods is called.
fetch
my $transcription = $client->recordings($recording_sid)->transcriptions($sid)->fetch;
Returns a TranscriptionInstance.
delete
$client->recordings($recording_sid)->transcriptions($sid)->delete;
Returns true.
TranscriptionInstance
See also Twilio::InstanceResource.
It has fetch and delete, which work as they do on the context.
Its fields are:
- account_sid
-
The SID of the Account that created the Transcription resource.
- api_version
-
The API version used to create the transcription.
- date_created
-
The date and time in GMT that the resource was created specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date and time in GMT that the resource was last updated specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- duration
-
The duration of the transcribed audio in seconds.
- price
-
The charge for the transcript in the currency associated with the account. This value is populated after the transcript is complete so it may not be available immediately.
- price_unit
-
The currency in which
priceis measured, in ISO 4127 format (e.g.usd,eur,jpy). - recording_sid
-
The SID of the Recording from which the transcription was created.
- sid
-
The unique string that that we created to identify the Transcription resource.
- status
-
One of
in-progress,completedorfailed. - transcription_text
-
The text content of the transcription.
- type
-
The transcription type.
- uri
-
The URI of the resource, relative to
https://api.twilio.com.
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.