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
IndividualorBusiness. -
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 'EndUserType=Individual&FirstName=firstname&LastName=lastname&DateOfBirth=1990-01-01&IndividualEmail=test%40test.com&IndividualPhone=123456&PhoneNumberType=national&BusinessLegalName=Owl%2C+Inc.&NotificationEmail=test%40test.com&AcceptedNotificationReceipt=true&BusinessRegistrationNumber=123456789&BusinessWebsiteUrl=https%3A%2F%2Ftwilio.co&FriendlyName=Owl&AuthorizedRepresentative1FirstName=firstname&AuthorizedRepresentative1LastName=lastname&AuthorizedRepresentative1Email=test%40test.com&AuthorizedRepresentative1DateOfBirth=1990-01-01&AuthorizedRepresentative1Phone=%2B9199992222222&AddressStreet=123+Main+St&AddressStreetSecondary=Apt+1&AddressCity=San+Francisco&AddressSubdivision=CA&AddressPostalCode=94107&AddressCountryCode=US&UseAddressAsEmergencyAddress=true&EmergencyAddressStreet=123+Main+St&EmergencyAddressStreetSecondary=Apt+1&EmergencyAddressCity=San+Francisco&EmergencyAddressSubdivision=CA&EmergencyAddressPostalCode=94107&EmergencyAddressCountryCode=US&FileName=fileName&File=file&BusinessIdentityType=direct_customer&BusinessRegistrationAuthority=UK%3ACRN&IsIsvEmbed=true&IsvRegisteringForSelfOrTenant=my_customer&StatusCallbackUrl=https%3A%2F%2Fstatus.com&ThemeSetId=th_xxxxx'
{"EndUserType" => "Individual", "FirstName" => "firstname", "LastName" => "lastname", "DateOfBirth" => "1990-01-01", "IndividualEmail" => "test@test.com", "IndividualPhone" => "123456", "PhoneNumberType" => "national", "BusinessLegalName" => "Owl, Inc.", "NotificationEmail" => "test@test.com", "AcceptedNotificationReceipt" => true, "BusinessRegistrationNumber" => "123456789", "BusinessWebsiteUrl" => "https://twilio.co", "FriendlyName" => "Owl", "AuthorizedRepresentative1FirstName" => "firstname", "AuthorizedRepresentative1LastName" => "lastname", "AuthorizedRepresentative1Email" => "test@test.com", "AuthorizedRepresentative1DateOfBirth" => "1990-01-01", "AuthorizedRepresentative1Phone" => "+9199992222222", "AddressStreet" => "123 Main St", "AddressStreetSecondary" => "Apt 1", "AddressCity" => "San Francisco", "AddressSubdivision" => "CA", "AddressPostalCode" => "94107", "AddressCountryCode" => "US", "UseAddressAsEmergencyAddress" => true, "EmergencyAddressStreet" => "123 Main St", "EmergencyAddressStreetSecondary" => "Apt 1", "EmergencyAddressCity" => "San Francisco", "EmergencyAddressSubdivision" => "CA", "EmergencyAddressPostalCode" => "94107", "EmergencyAddressCountryCode" => "US", "FileName" => "fileName", "File" => "file", "BusinessIdentityType" => "direct_customer", "BusinessRegistrationAuthority" => "UK:CRN", "IsIsvEmbed" => true, "IsvRegisteringForSelfOrTenant" => "my_customer", "StatusCallbackUrl" => "https://status.com", "ThemeSetId" => "th_xxxxx"}
{
"inquiry_id": "inq_aaaaaaaaaaaaaaaaaaaaaaaa",
"inquiry_session_token": "new.session.token",
"registration_id": "tri1.us1.account.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.registartion.PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/ComplianceInquiries/Registration/tri1.us1.account.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.registartion.PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/RegulatoryCompliance/GB/Initialize"
}