NAME

Twilio::Rest::Messaging::V1::BrandRegistration - The BrandRegistration resource

SYNOPSIS

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

my $brand_registration = $client->messaging->v1->brand_registrations->create($customer_profile_bundle_sid, $a2p_profile_bundle_sid, \%options);
for my $brand_registration ($client->messaging->v1->brand_registrations->read({}, 20)) {
  ...
}
my $brand_registration = $client->messaging->v1->brand_registrations($sid)->fetch;
$client->messaging->v1->brand_registrations($sid)->update();

DESCRIPTION

A Messaging Service resource to add and fetch Brand Registrations.

This file holds BrandRegistrationList, BrandRegistrationPage, BrandRegistrationContext and BrandRegistrationInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

BrandRegistrationList

Returned by $client->messaging->v1->brand_registrations. See also Twilio::ListResource.

create

my $brand_registration = $client->messaging->v1->brand_registrations->create($customer_profile_bundle_sid, $a2p_profile_bundle_sid, \%options);

Returns a BrandRegistrationInstance.

The required values are:

$customer_profile_bundle_sid

Customer Profile Bundle Sid.

$a2p_profile_bundle_sid

A2P Messaging Profile Bundle Sid.

The options are:

brand_type

Type of brand being created. One of: "STANDARD", "SOLE_PROPRIETOR". SOLE_PROPRIETOR is for low volume, SOLE_PROPRIETOR use cases. STANDARD is for all other use cases.

mock

A boolean that specifies whether brand should be a mock or not. If true, brand will be registered as a mock brand. Defaults to false if no value is provided.

skip_automatic_sec_vet

A flag to disable automatic secondary vetting for brands which it would otherwise be done.

read

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

Returns the records as a list, fetching as many pages as it needs.

stream

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

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

page

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

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

get_page

my $page = $client->messaging->v1->brand_registrations->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->messaging->v1->brand_registrations->get_context($sid);

Returns a BrandRegistrationContext, and makes no request.

BrandRegistrationPage

A Twilio::Page of BrandRegistrationInstance objects.

records_key

build_instance

Used by Twilio::Page.

BrandRegistrationContext

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

fetch

my $brand_registration = $client->messaging->v1->brand_registrations($sid)->fetch;

Returns a BrandRegistrationInstance.

update

my $brand_registration = $client->messaging->v1->brand_registrations($sid)->update();

Returns a BrandRegistrationInstance.

brand_registration_otps

my $list = $object->brand_registration_otps;

See Twilio::Rest::Messaging::V1::BrandRegistration::BrandRegistrationOtp.

brand_vettings

my $list = $object->brand_vettings;

my $context = $object->brand_vettings($brand_vetting_sid);

See Twilio::Rest::Messaging::V1::BrandRegistration::BrandVetting.

BrandRegistrationInstance

See also Twilio::InstanceResource.

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

Its fields are:

a2p_profile_bundle_sid

A2P Messaging Profile Bundle BundleSid.

account_sid

The SID of the Account that created the Brand Registration resource.

brand_feedback

DEPRECATED. Feedback on how to improve brand score

brand_score

The secondary vetting score if it was done. Otherwise, it will be the brand score if it's returned from TCR. It may be null if no score is available.

brand_type

Type of brand. One of: "STANDARD", "SOLE_PROPRIETOR". SOLE_PROPRIETOR is for the low volume, SOLE_PROPRIETOR campaign use case. There can only be one SOLE_PROPRIETOR campaign created per SOLE_PROPRIETOR brand. STANDARD is for all other campaign use cases. Multiple campaign use cases can be created per STANDARD brand.

customer_profile_bundle_sid

A2P Messaging Profile Bundle BundleSid.

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.

errors

A list of errors that occurred during the brand registration process.

failure_reason

DEPRECATED. A reason why brand registration has failed. Only applicable when status is FAILED.

government_entity

Identified as a government entity

identity_status

One of SELF_DECLARED, UNVERIFIED, VERIFIED or VETTED_VERIFIED.

No description in the specification.

mock

A boolean that specifies whether brand should be a mock or not. If true, brand will be registered as a mock brand. Defaults to false if no value is provided.

russell_3000

Publicly traded company identified in the Russell 3000 Index

sid

The unique string to identify Brand Registration.

skip_automatic_sec_vet

A flag to disable automatic secondary vetting for brands which it would otherwise be done.

status

One of PENDING, APPROVED, FAILED, IN_REVIEW, DELETION_PENDING, DELETION_FAILED or SUSPENDED.

tax_exempt_status

Nonprofit organization tax-exempt status per section 501 of the U.S. tax code.

tcr_id

Campaign Registry (TCR) Brand ID. Assigned only after successful brand registration.

url

The absolute URL of the Brand Registration 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.