NAME

Twilio::Rest::Api::V2010::Account::Conference::Recording - The Recording resource

SYNOPSIS

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

for my $recording ($client->conferences($conference_sid)->recordings->read({}, 20)) {
  ...
}
my $recording = $client->conferences($conference_sid)->recordings($sid)->fetch;
$client->conferences($conference_sid)->recordings($sid)->update($status, \%options);
$client->conferences($conference_sid)->recordings($sid)->delete;

DESCRIPTION

Recordings of conferences

This file holds RecordingList, RecordingPage, RecordingContext and RecordingInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

RecordingList

Returned by $client->conferences($conference_sid)->recordings. See also Twilio::ListResource.

read

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

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

The options are:

date_created

The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_created_before

The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_created_after

The date_created value, specified as YYYY-MM-DD, of the resources to read. You can also specify inequality: DateCreated<=YYYY-MM-DD will return recordings generated at or before midnight on a given date, and DateCreated>=YYYY-MM-DD returns recordings generated at or after midnight on a date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

stream

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

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

page

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

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

get_page

my $page = $client->conferences($conference_sid)->recordings->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->conferences($conference_sid)->recordings->get_context($sid);

Returns a RecordingContext, and makes no request.

RecordingPage

A Twilio::Page of RecordingInstance objects.

records_key

build_instance

Used by Twilio::Page.

RecordingContext

Returned by $client->conferences($conference_sid)->recordings($sid). It makes no request until one of these methods is called.

fetch

my $recording = $client->conferences($conference_sid)->recordings($sid)->fetch;

Fetch an instance of a recording for a call. Returns a RecordingInstance.

update

my $recording = $client->conferences($conference_sid)->recordings($sid)->update($status, \%options);

Changes the status of the recording to paused, stopped, or in-progress. Note: To use Twilio.CURRENT, pass it as recording sid. Returns a RecordingInstance.

The required values are:

$status

One of in-progress, paused, stopped, processing, completed or absent.

The options are:

pause_behavior

Whether to record during a pause. Can be: skip or silence and the default is silence. skip does not record during the pause period, while silence will replace the actual audio of the call with silence during the pause period. This parameter only applies when setting status is set to paused.

delete

$client->conferences($conference_sid)->recordings($sid)->delete;

Delete a recording from your account. Returns true.

RecordingInstance

See also Twilio::InstanceResource.

It has fetch, update and delete, which work as they do on the context.

Its fields are:

account_sid

The SID of the Account that created the Conference Recording resource.

api_version

The API version used to create the recording.

call_sid

The SID of the Call the Conference Recording resource is associated with.

channels

The number of channels in the final recording file. Can be: 1, or 2. Separating a two leg call into two separate channels of the recording file is supported in Dial and Outbound Rest API record options.

conference_sid

The Conference SID that identifies the conference associated with the recording.

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 length of the recording in seconds.

encryption_details

How to decrypt the recording if it was encrypted using Call Recording Encryption feature.

error_code

The error code that describes why the recording is absent. The error code is described in our Error Dictionary. This value is null if the recording status is not absent.

price

The one-time cost of creating the recording in the price_unit currency.

price_unit

The currency used in the price property. Example: USD.

sid

The unique string that that we created to identify the Conference Recording resource.

source

One of DialVerb, Conference, OutboundAPI, Trunking, RecordVerb, StartCallRecordingAPI or StartConferenceRecordingAPI.

start_time

The start time of the recording in GMT and in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

status

One of in-progress, paused, stopped, processing, completed or absent.

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.