NAME

Twilio::Rest::Trusthub::V1::A2PBrandRegistration - The A2PBrandRegistration resource

SYNOPSIS

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

my $a2_pbrand_registration = $client->trusthub->v1->a2p_brand_registrations->create(\%body);

DESCRIPTION

An A2P Brand Registration represents a brand registered with The Campaign Registry (TCR) for 10DLC messaging. This endpoint creates a new brand registration and initializes a Persona embeddable compliance session that the ISV's end user completes to submit brand information.

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

A2PBrandRegistrationList

Returned by $client->trusthub->v1->a2p_brand_registrations. See also Twilio::ListResource.

create

my $a2_pbrand_registration = $client->trusthub->v1->a2p_brand_registrations->create(\%body);

Create a new A2P Brand Registration and initialize an embedded compliance session. Returns a A2PBrandRegistrationInstance.

%body is sent as JSON. It takes the names Twilio's API documentation uses.

Its fields are:

authorizedContactMobilePhoneNumberE164

The mobile phone number for authorized contact in E.164 format.

authorizedContactVerificationEmail

The email address for authorized contact verification.

brandExternalVettingToken

Campaign Verify token for externally vetted brands.

brandType

Required. The type of brand being registered. One of STANDARD or SOLE_PROPRIETOR.

businessCity

The city of the business.

businessContactEmail

The email address of the business contact.

businessContactFirstName

The first name of the business contact.

businessContactLastName

The last name of the business contact.

businessContactPhone

The phone number of the business contact in E.164 format.

businessCountry

The two-letter ISO country code of the business.

businessIndustry

The industry of the business. The value is validated by the service; see the Twilio docs for accepted values.

businessName

The legal name of the business.

businessPostalCode

The postal code of the business.

businessRegistrationAuthority

The authority with which the business is registered. The value is validated by the service; see the Twilio docs for accepted values.

businessRegistrationNumber

The business registration number (e.g., EIN, CBN, ACN). Maximum 21 characters.

businessStateProvinceRegion

The state, province, or region of the business.

businessStockExchange

The stock exchange where the business is listed. The value is validated by the service; see the Twilio docs for accepted values.

businessStockSymbol

The stock symbol for publicly traded companies.

businessStreetAddress

The street address of the business.

businessStreetAddress2

Additional street address information.

businessTaxExemptStatus

Nonprofit/political organization tax-exempt status per the U.S. tax code (e.g. 501c3, 501c1, 527). A value of 527 (political organization) requires a Campaign Verify token in brandExternalVettingToken. The value is validated by the service; see the Twilio docs for accepted values.

businessType

The type of business entity. The value is validated by the service; see the Twilio docs for accepted values.

businessWebsite

The business website URL (must use https://).

friendlyName

A human-readable name for the brand registration.

isTest

Whether this is a test brand registration.

notificationEmail

Required. The email address to receive notifications about the registration.

skipAutomaticSecVet

Whether to skip automatic secondary vetting.

themeSetId

Theme ID for styling the inquiry form.

A2PBrandRegistrationInstance

See also Twilio::InstanceResource.

Its fields are:

id

The unique A2P Brand or Campaign Registration identifier, formatted as tri1.us1.account.AC.../registration.BU....

session_id

The Persona inquiry ID used to start the embedded compliance session.

session_token

The Persona session token for embedding the compliance UI. Expires in 24 hours.

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.