NAME

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

SYNOPSIS

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

for my $conference ($client->conferences->read({}, 20)) {
  ...
}
my $conference = $client->conferences($sid)->fetch;
$client->conferences($sid)->update(\%options);

DESCRIPTION

Voice call conferences

This file holds ConferenceList, ConferencePage, ConferenceContext and ConferenceInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

ConferenceList

Returned by $client->conferences. See also Twilio::ListResource.

read

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

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

The options are:

date_created

Only include conferences that were created on this date. Specify a date as YYYY-MM-DD in UTC, for example: 2009-07-06, to read only conferences that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD, to read conferences that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD to read conferences that were created on or after midnight of this date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_created_before

Only include conferences that were created on this date. Specify a date as YYYY-MM-DD in UTC, for example: 2009-07-06, to read only conferences that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD, to read conferences that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD to read conferences that were created on or after midnight of this date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_created_after

Only include conferences that were created on this date. Specify a date as YYYY-MM-DD in UTC, for example: 2009-07-06, to read only conferences that were created on this date. You can also specify an inequality, such as DateCreated<=YYYY-MM-DD, to read conferences that were created on or before midnight of this date, and DateCreated>=YYYY-MM-DD to read conferences that were created on or after midnight of this date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_updated

Only include conferences that were last updated on this date. Specify a date as YYYY-MM-DD in UTC, for example: 2009-07-06, to read only conferences that were last updated on this date. You can also specify an inequality, such as DateUpdated<=YYYY-MM-DD, to read conferences that were last updated on or before midnight of this date, and DateUpdated>=YYYY-MM-DD to read conferences that were last updated on or after midnight of this date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_updated_before

Only include conferences that were last updated on this date. Specify a date as YYYY-MM-DD in UTC, for example: 2009-07-06, to read only conferences that were last updated on this date. You can also specify an inequality, such as DateUpdated<=YYYY-MM-DD, to read conferences that were last updated on or before midnight of this date, and DateUpdated>=YYYY-MM-DD to read conferences that were last updated on or after midnight of this date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

date_updated_after

Only include conferences that were last updated on this date. Specify a date as YYYY-MM-DD in UTC, for example: 2009-07-06, to read only conferences that were last updated on this date. You can also specify an inequality, such as DateUpdated<=YYYY-MM-DD, to read conferences that were last updated on or before midnight of this date, and DateUpdated>=YYYY-MM-DD to read conferences that were last updated on or after midnight of this date. A string, or an object with an epoch method. See "iso8601_date_time" in Twilio::Serialize.

friendly_name

The string that identifies the Conference resources to read.

status

The status of the resources to read. Can be: init, in-progress, or completed. Starting from September 30th, 2026, the default is in-progress. To read completed conferences, set Status to completed. One of init, in-progress or completed.

stream

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

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

page

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

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

get_page

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

Fetches the page at a URL given by Twilio.

get_context

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

Returns a ConferenceContext, and makes no request.

ConferencePage

A Twilio::Page of ConferenceInstance objects.

records_key

build_instance

Used by Twilio::Page.

ConferenceContext

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

fetch

my $conference = $client->conferences($sid)->fetch;

Fetch an instance of a conference. Returns a ConferenceInstance.

update

my $conference = $client->conferences($sid)->update(\%options);

Returns a ConferenceInstance.

The options are:

announce_method

The HTTP method used to call announce_url. Can be: GET or POST and the default is POST One of GET or POST.

announce_url

The URL we should call to announce something into the conference. The URL may return an MP3 file, a WAV file, or a TwiML document that contains <Play>, <Say>, <Pause>, or <Redirect> verbs.

status

Must be completed.

participants

my $list = $object->participants;

my $context = $object->participants($call_sid);

See Twilio::Rest::Api::V2010::Account::Conference::Participant.

recordings

my $list = $object->recordings;

my $context = $object->recordings($sid);

See Twilio::Rest::Api::V2010::Account::Conference::Recording.

ConferenceInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

The SID of the Account that created this Conference resource.

api_version

The API version used to create this conference.

call_sid_ending_conference

The call SID that caused the conference to end.

date_created

The date and time in UTC that this 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 UTC that this resource was last updated, specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

friendly_name

A string that you assigned to describe this conference room. Maximum length is 128 characters.

reason_conference_ended

One of conference-ended-via-api, participant-with-end-conference-on-exit-left, participant-with-end-conference-on-exit-kicked, last-participant-kicked or last-participant-left.

region

A string that represents the Twilio Region where the conference audio was mixed. May be us1, us2, ie1, de1, sg1, br1, au1, and jp1. Basic conference audio will always be mixed in us1. Global Conference audio will be mixed nearest to the majority of participants.

sid

The unique, Twilio-provided string used to identify this Conference resource.

status

One of init, in-progress or completed.

subresource_uris

A list of related resources identified by their URIs relative to https://api.twilio.com.

uri

The URI of this 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.