NAME

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

SYNOPSIS

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

my $module_data = $client->marketplace->v1->module_data->create(\%options);
my $module_data = $client->marketplace->v1->module_data->fetch;

DESCRIPTION

This file holds ModuleDataList and ModuleDataInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

ModuleDataList

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

create

my $module_data = $client->marketplace->v1->module_data->create(\%options);

This endpoint creates a Listing based on the given data. Returns a ModuleDataInstance.

The options are:

configuration

A JSON object for providing Listing-specific configuration. Contains button setup, notification URL, and more.

module_info

A JSON object containing essential attributes that define a Listing.

fetch

my $module_data = $client->marketplace->v1->module_data->fetch;

This endpoint returns the Listings owned by the authenticated Account. Returns a ModuleDataInstance.

ModuleDataInstance

See also Twilio::InstanceResource.

Its fields are:

configuration

A JSON object for providing listing specific configuration. Contains button setup, notification url, among others.

description

A JSON object describing the module and is displayed under the Description tab of the Module detail page. You can define the main body of the description, highlight key features or aspects of the module and if applicable, provide code samples for developers

documentation

A JSON object for providing comprehensive information, instructions, and resources related to the module

listings

No description in the specification.

module_info

A JSON object containing essential attributes that define a module. This information is presented on the Module detail page in the Twilio Marketplace Catalog. You can pass the following attributes in the JSON object

policies

A JSON object describing the module's privacy and legal policies and is displayed under the Policies tab of the Module detail page. The maximum file size for Policies is 5MB

pricing

A JSON object for providing Listing specific pricing information.

sid

ModuleSid that identifies this Listing.

support

A JSON object containing information on how customers can obtain support for the module. Use this parameter to provide details such as contact information and support description.

url

URL to query the subresource.

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.