Create a new Compliance Registration Inquiry for the authenticated account. This is necessary to start a new embedded session.
Create a new Compliance Registration Inquiry for the authenticated account. This is necessary to start a new embedded session.
Body
-
Values are
Individual
orBusiness
. -
Values are
local
,national
,mobile
, ortoll-free
. -
Values are
direct_customer
,isv_reseller_or_partner
, orunknown
. -
he name of the business or organization using the Tollfree number.
-
he email address to receive the notification about the verification result.
-
The email address to receive the notification about the verification result.
-
Business registration number of the business
-
The URL of the business website
-
Friendly name for your business information
-
Street address of the business
-
Street address of the business
-
City of the business
-
State or province of the business
-
Postal code of the business
-
Country code of the business
-
Street address of the business
-
Street address of the business
-
City of the business
-
State or province of the business
-
Postal code of the business
-
Country code of the business
-
Use the business address as the emergency address
-
The name of the verification document to upload
-
The verification document to upload
-
The first name of the Individual User.
-
The last name of the Individual User.
-
The date of birth of the Individual User.
-
The email address of the Individual User.
-
The phone number of the Individual User.
-
Indicates if the inquiry is being started from an ISV embedded component.
-
Indicates if the isv registering for self or tenant.
-
The url we call to inform you of bundle changes.
-
Theme id for styling the inquiry form.
curl \
--request POST 'https://trusthub.twilio.com/v1/ComplianceInquiries/Registration/RegulatoryCompliance/GB/Initialize' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'File=file&FileName=fileName&LastName=lastname&FirstName=firstname&IsIsvEmbed=true&ThemeSetId=th_xxxxx&AddressCity=San+Francisco&DateOfBirth=1990-01-01&EndUserType=Individual&FriendlyName=Owl&AddressStreet=123+Main+St&IndividualEmail=test%40test.com&IndividualPhone=123456&PhoneNumberType=national&AddressPostalCode=94107&BusinessLegalName=Owl%2C+Inc.&NotificationEmail=test%40test.com&StatusCallbackUrl=https%3A%2F%2Fstatus.com&AddressCountryCode=US&AddressSubdivision=CA&BusinessWebsiteUrl=https%3A%2F%2Ftwilio.co&BusinessIdentityType=direct_customer&EmergencyAddressCity=San+Francisco&AddressStreetSecondary=Apt+1&EmergencyAddressStreet=123+Main+St&BusinessRegistrationNumber=123456789&EmergencyAddressPostalCode=94107&AcceptedNotificationReceipt=true&EmergencyAddressCountryCode=US&EmergencyAddressSubdivision=CA&UseAddressAsEmergencyAddress=true&BusinessRegistrationAuthority=UK%3ACRN&IsvRegisteringForSelfOrTenant=my_customer&AuthorizedRepresentative1Email=test%40test.com&AuthorizedRepresentative1Phone=%2B9199992222222&EmergencyAddressStreetSecondary=Apt+1&AuthorizedRepresentative1LastName=lastname&AuthorizedRepresentative1FirstName=firstname&AuthorizedRepresentative1DateOfBirth=1990-01-01'
{"File"=>"file", "FileName"=>"fileName", "LastName"=>"lastname", "FirstName"=>"firstname", "IsIsvEmbed"=>true, "ThemeSetId"=>"th_xxxxx", "AddressCity"=>"San Francisco", "DateOfBirth"=>"1990-01-01", "EndUserType"=>"Individual", "FriendlyName"=>"Owl", "AddressStreet"=>"123 Main St", "IndividualEmail"=>"test@test.com", "IndividualPhone"=>"123456", "PhoneNumberType"=>"national", "AddressPostalCode"=>"94107", "BusinessLegalName"=>"Owl, Inc.", "NotificationEmail"=>"test@test.com", "StatusCallbackUrl"=>"https://status.com", "AddressCountryCode"=>"US", "AddressSubdivision"=>"CA", "BusinessWebsiteUrl"=>"https://twilio.co", "BusinessIdentityType"=>"direct_customer", "EmergencyAddressCity"=>"San Francisco", "AddressStreetSecondary"=>"Apt 1", "EmergencyAddressStreet"=>"123 Main St", "BusinessRegistrationNumber"=>"123456789", "EmergencyAddressPostalCode"=>"94107", "AcceptedNotificationReceipt"=>true, "EmergencyAddressCountryCode"=>"US", "EmergencyAddressSubdivision"=>"CA", "UseAddressAsEmergencyAddress"=>true, "BusinessRegistrationAuthority"=>"UK:CRN", "IsvRegisteringForSelfOrTenant"=>"my_customer", "AuthorizedRepresentative1Email"=>"test@test.com", "AuthorizedRepresentative1Phone"=>"+9199992222222", "EmergencyAddressStreetSecondary"=>"Apt 1", "AuthorizedRepresentative1LastName"=>"lastname", "AuthorizedRepresentative1FirstName"=>"firstname", "AuthorizedRepresentative1DateOfBirth"=>"1990-01-01"}
{
"url": "https://trusthub.twilio.com/v1/ComplianceInquiries/Registration/tri1.us1.account.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.registartion.PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RegulatoryCompliance/GB/Initialize",
"inquiry_id": "inq_aaaaaaaaaaaaaaaaaaaaaaaa",
"registration_id": "tri1.us1.account.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.registartion.PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"inquiry_session_token": "new.session.token"
}