NAME
Twilio::Rest::Trusthub::V1::ComplianceTollfreeInquiries - The ComplianceTollfreeInquiries resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $compliance_tollfree_inquiries = $client->trusthub->v1->compliance_tollfree_inquiries->create($tollfree_phone_number, $notification_email, \%options);
DESCRIPTION
This file holds ComplianceTollfreeInquiriesList and ComplianceTollfreeInquiriesInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
ComplianceTollfreeInquiriesList
Returned by $client->trusthub->v1->compliance_tollfree_inquiries. See also Twilio::ListResource.
create
my $compliance_tollfree_inquiries = $client->trusthub->v1->compliance_tollfree_inquiries->create($tollfree_phone_number, $notification_email, \%options);
Create a new Compliance Tollfree Verification Inquiry for the authenticated account. This is necessary to start a new embedded session. Returns a ComplianceTollfreeInquiriesInstance.
The required values are:
$tollfree_phone_number-
The Tollfree phone number to be verified
$notification_email-
The email address to receive the notification about the verification result.
The options are:
additional_information-
Additional information to be provided for verification.
age_gated_content-
Indicates if the content is age gated.
business_city-
The city of the business or organization using the Tollfree number.
business_contact_email-
The email address of the contact for the business or organization using the Tollfree number.
business_contact_first_name-
The first name of the contact for the business or organization using the Tollfree number.
business_contact_last_name-
The last name of the contact for the business or organization using the Tollfree number.
business_contact_phone-
The phone number of the contact for the business or organization using the Tollfree number.
business_country-
The country of the business or organization using the Tollfree number.
business_name-
The name of the business or organization using the Tollfree number.
business_postal_code-
The postal code of the business or organization using the Tollfree number.
-
The Business Registration Authority of the business or organization.
business_registration_country-
The Business Registration Country of the business or organization.
business_registration_number-
The Business Registration Number of the business or organization.
business_state_province_region-
The state/province/region of the business or organization using the Tollfree number.
business_street_address-
The address of the business or organization using the Tollfree number.
business_street_address2-
The address of the business or organization using the Tollfree number.
business_type-
One of
PRIVATE_PROFIT,PUBLIC_PROFIT,NON_PROFIT,SOLE_PROPRIETORorGOVERNMENT. business_website-
The website of the business or organization using the Tollfree number.
customer_profile_sid-
The Customer Profile Sid associated with the Account.
doing_business_as-
Trade name, sub entity, or downstream business name of business being submitted for verification.
external_reference_id-
A legally recognized business registration number.
help_message_sample-
A sample help message provided to users.
message_volume-
Estimate monthly volume of messages from the Tollfree Number.
opt_in_confirmation_message-
The confirmation message sent to users when they opt in to receive messages.
opt_in_image_urls-
Link to an image that shows the opt-in workflow. Multiple images allowed and must be a publicly hosted URL. An array reference.
opt_in_keywords-
List of keywords that users can text in to opt in to receive messages. An array reference.
opt_in_type-
One of
VERBAL,WEB_FORM,PAPER_FORM,VIA_TEXTorMOBILE_QR_CODE. privacy_policy_url-
The URL to the privacy policy for the business or organization.
production_message_sample-
An example of message content, i.e. a sample message.
skip_messaging_use_case-
Skip the messaging use case screen of the inquiry form.
terms_and_conditions_url-
The URL to the terms and conditions for the business or organization.
theme_set_id-
Theme id for styling the inquiry form.
use_case_categories-
The category of the use case for the Tollfree Number. List as many are applicable.. An array reference.
use_case_summary-
Use this to further explain how messaging is used by the business or organization.
vetting_id-
Unique identifier for the created Vetting .
vetting_provider-
Name of the vetting provider.
ComplianceTollfreeInquiriesInstance
See also Twilio::InstanceResource.
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 TolfreeId matching the Tollfree 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.