NAME

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

SYNOPSIS

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

my $compliance_registration_inquiries = $client->trusthub->v1->compliance_registration_inquiries->create($end_user_type, $phone_number_type, \%options);
$client->trusthub->v1->compliance_registration_inquiries($registration_id)->update(\%options);

DESCRIPTION

This file holds ComplianceRegistrationInquiriesList, ComplianceRegistrationInquiriesContext and ComplianceRegistrationInquiriesInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

ComplianceRegistrationInquiriesList

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

create

my $compliance_registration_inquiries = $client->trusthub->v1->compliance_registration_inquiries->create($end_user_type, $phone_number_type, \%options);

Create a new Compliance Registration Inquiry for the authenticated account. This is necessary to start a new embedded session. Returns a ComplianceRegistrationInquiriesInstance.

The required values are:

$end_user_type

One of Individual or Business.

$phone_number_type

One of local, national, mobile or toll-free.

The options are:

accepted_notification_receipt

The email address to receive the notification about the verification result.

address_city

City of the business

address_country_code

Country code of the business

address_postal_code

Postal code of the business

address_street

Street address of the business

address_street_secondary

Street address of the business

address_subdivision

State or province of the business

authorized_representative1_date_of_birth

Birthdate of the authorized representative

authorized_representative1_email

Email address of the authorized representative

authorized_representative1_first_name

First name of the authorized representative

authorized_representative1_last_name

Last name of the authorized representative

authorized_representative1_phone

Phone number of the authorized representative

business_identity_type

One of direct_customer, isv_reseller_or_partner or unknown.

he name of the business or organization using the Tollfree number.

business_registration_authority

One of UK:CRN, US:EIN, CA:CBN, AU:ACN or Other.

business_registration_number

Business registration number of the business

business_website_url

The URL of the business website

date_of_birth

The date of birth of the Individual User.

emergency_address_city

City of the business

emergency_address_country_code

Country code of the business

emergency_address_postal_code

Postal code of the business

emergency_address_street

Street address of the business

emergency_address_street_secondary

Street address of the business

emergency_address_subdivision

State or province of the business

file

The verification document to upload

file_name

The name of the verification document to upload

first_name

The first name of the Individual User.

friendly_name

Friendly name for your business information

individual_email

The email address of the Individual User.

individual_phone

The phone number of the Individual User.

is_isv_embed

Indicates if the inquiry is being started from an ISV embedded component.

isv_registering_for_self_or_tenant

Indicates if the isv registering for self or tenant.

last_name

The last name of the Individual User.

notification_email

he email address to receive the notification about the verification result.

status_callback_url

The url we call to inform you of bundle changes.

theme_set_id

Theme id for styling the inquiry form.

use_address_as_emergency_address

Use the business address as the emergency address

get_context

my $context = $client->trusthub->v1->compliance_registration_inquiries->get_context($registration_id);

Returns a ComplianceRegistrationInquiriesContext, and makes no request.

ComplianceRegistrationInquiriesContext

Returned by $client->trusthub->v1->compliance_registration_inquiries($registration_id). It makes no request until one of these methods is called.

update

my $compliance_registration_inquiries = $client->trusthub->v1->compliance_registration_inquiries($registration_id)->update(\%options);

Resume a specific Regulatory Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing. Returns a ComplianceRegistrationInquiriesInstance.

The options are:

is_isv_embed

Indicates if the inquiry is being started from an ISV embedded component.

theme_set_id

Theme id for styling the inquiry form.

ComplianceRegistrationInquiriesInstance

See also Twilio::InstanceResource.

It has update, which work as they do on the context.

Its fields are:

inquiry_id

The unique ID used to start an embedded compliance registration session.

inquiry_session_token

The session token used to start an embedded compliance registration session.

registration_id

The RegistrationId matching the Registration Profile that should be resumed or resubmitted for editing.

url

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