NAME

Twilio::Rest::Api::V2010::Account::Transcription - The Transcription resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

for my $transcription ($client->transcriptions->read({}, 20)) {
  ...
}
my $transcription = $client->transcriptions($sid)->fetch;
$client->transcriptions($sid)->delete;

DESCRIPTION

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->transcriptions. See also Twilio::ListResource.

read

my @records = $client->transcriptions->read(\%options, $limit, $page_size);

Retrieve a list of transcriptions belonging to the account used to make the request. Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->transcriptions->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->transcriptions->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->transcriptions->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->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->transcriptions($sid). It makes no request until one of these methods is called.

fetch

my $transcription = $client->transcriptions($sid)->fetch;

Fetch an instance of a Transcription. Returns a TranscriptionInstance.

delete

$client->transcriptions($sid)->delete;

Delete a transcription from the account used to make the request. 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 price is 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, completed or failed.

transcription_text

The text content of the transcription.

type

The transcription type. Can only be: fast.

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.