NAME

Twilio::Rest::Marketplace::V1::InstalledAddOn - The InstalledAddOn resource

SYNOPSIS

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

my $installed_add_on = $client->marketplace->v1->installed_add_ons->create($available_add_on_sid, $accept_terms_of_service, \%options);
for my $installed_add_on ($client->marketplace->v1->installed_add_ons->read({}, 20)) {
  ...
}
my $installed_add_on = $client->marketplace->v1->installed_add_ons($sid)->fetch;
$client->marketplace->v1->installed_add_ons($sid)->update(\%options);
$client->marketplace->v1->installed_add_ons($sid)->delete;

DESCRIPTION

This file holds InstalledAddOnList, InstalledAddOnPage, InstalledAddOnContext and InstalledAddOnInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

InstalledAddOnList

Returned by $client->marketplace->v1->installed_add_ons. See also Twilio::ListResource.

create

my $installed_add_on = $client->marketplace->v1->installed_add_ons->create($available_add_on_sid, $accept_terms_of_service, \%options);

Install an Add-on for the Account specified. Returns a InstalledAddOnInstance.

The required values are:

$available_add_on_sid

The SID of the AvaliableAddOn to install.

$accept_terms_of_service

Whether the Terms of Service were accepted.

The options are:

configuration

The JSON object that represents the configuration of the new Add-on being installed. A hash or array reference, or a string of JSON.

unique_name

An application-defined string that uniquely identifies the resource. This value must be unique within the Account.

read

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

Retrieve a list of Add-ons currently installed on this Account. Returns the records as a list, fetching as many pages as it needs.

stream

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

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

page

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

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

get_page

my $page = $client->marketplace->v1->installed_add_ons->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->marketplace->v1->installed_add_ons->get_context($sid);

Returns a InstalledAddOnContext, and makes no request.

InstalledAddOnPage

A Twilio::Page of InstalledAddOnInstance objects.

records_key

build_instance

Used by Twilio::Page.

InstalledAddOnContext

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

fetch

my $installed_add_on = $client->marketplace->v1->installed_add_ons($sid)->fetch;

Fetch an instance of an Add-on currently installed on this Account. Returns a InstalledAddOnInstance.

update

my $installed_add_on = $client->marketplace->v1->installed_add_ons($sid)->update(\%options);

Update an Add-on installation for the Account specified. Returns a InstalledAddOnInstance.

The options are:

configuration

Valid JSON object that conform to the configuration schema exposed by the associated AvailableAddOn resource. This is only required by Add-ons that need to be configured A hash or array reference, or a string of JSON.

unique_name

An application-defined string that uniquely identifies the resource. This value must be unique within the Account.

delete

$client->marketplace->v1->installed_add_ons($sid)->delete;

Remove an Add-on installation from your account. Returns true.

extensions

my $list = $object->extensions;

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

See Twilio::Rest::Marketplace::V1::InstalledAddOn::InstalledAddOnExtension.

usage

my $list = $object->usage;

See Twilio::Rest::Marketplace::V1::InstalledAddOn::InstalledAddOnUsage.

InstalledAddOnInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

The SID of the Account that created the InstalledAddOn resource.

configuration

The JSON object that represents the current configuration of installed Add-on.

date_created

The date and time in GMT when the resource was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date and time in GMT when the resource was last updated specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

description

A short description of the Add-on's functionality.

friendly_name

The string that you assigned to describe the resource.

The URLs of related resources.

sid

The unique string that we created to identify the InstalledAddOn resource. This Sid can also be found in the Console on that specific Add-ons page as the 'Available Add-on Sid'.

unique_name

An application-defined string that uniquely identifies the resource.

url

The absolute URL of the resource.

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.