The unique string that identifies the Evaluation resource.
^EL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Account that created the trust_product resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string of a policy that is associated to the trust_product resource.
^RN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string that we created to identify the trust_product resource.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The compliance status of the Evaluation resource.
compliant
noncompliant
POST https://trusthub.twilio.com/v1/TrustProducts/{TrustProductSid}/Evaluations
The unique string that we created to identify the trust_product resource.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string of a policy that is associated to the customer_profile resource.
^RN[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_20// Download the helper library from https://www.twilio.com/docs/node/install_20const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";_20_20// Find your Account SID and Auth Token at twilio.com/console_20// and set the environment variables. See http://twil.io/secure_20const accountSid = process.env.TWILIO_ACCOUNT_SID;_20const authToken = process.env.TWILIO_AUTH_TOKEN;_20const client = twilio(accountSid, authToken);_20_20async function createTrustProductEvaluation() {_20 const trustProductsEvaluation = await client.trusthub.v1_20 .trustProducts("BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")_20 .trustProductsEvaluations.create({_20 policySid: "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_20 });_20_20 console.log(trustProductsEvaluation.sid);_20}_20_20createTrustProductEvaluation();
_160{_160 "sid": "ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "trust_product_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "status": "noncompliant",_160 "date_created": "2020-04-28T18:14:01Z",_160 "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations/ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "results": [_160 {_160 "friendly_name": "Business",_160 "object_type": "business",_160 "passed": false,_160 "failure_reason": "A Business End-User is missing. Please add one to the regulatory bundle.",_160 "error_code": 22214,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Business Name",_160 "object_field": "business_name",_160 "failure_reason": "The Business Name is missing. Please enter in a Business Name on the Business information.",_160 "error_code": 22215_160 },_160 {_160 "friendly_name": "Business Registration Number",_160 "object_field": "business_registration_number",_160 "failure_reason": "The Business Registration Number is missing. Please enter in a Business Registration Number on the Business information.",_160 "error_code": 22215_160 },_160 {_160 "friendly_name": "First Name",_160 "object_field": "first_name",_160 "failure_reason": "The First Name is missing. Please enter in a First Name on the Business information.",_160 "error_code": 22215_160 },_160 {_160 "friendly_name": "Last Name",_160 "object_field": "last_name",_160 "failure_reason": "The Last Name is missing. Please enter in a Last Name on the Business information.",_160 "error_code": 22215_160 }_160 ],_160 "requirement_friendly_name": "Business",_160 "requirement_name": "business_info"_160 },_160 {_160 "friendly_name": "Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative",_160 "object_type": "commercial_registrar_excerpt",_160 "passed": false,_160 "failure_reason": "An Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Business Name",_160 "object_field": "business_name",_160 "failure_reason": "The Business Name is missing. Or, it does not match the Business Name you entered within Business information. Please enter in the Business Name shown on the Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative or make sure both Business Name fields use the same exact inputs.",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Business Name",_160 "requirement_name": "business_name_info"_160 },_160 {_160 "friendly_name": "Excerpt from the commercial register showing French address",_160 "object_type": "commercial_registrar_excerpt",_160 "passed": false,_160 "failure_reason": "An Excerpt from the commercial register showing French address is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Address sid(s)",_160 "object_field": "address_sids",_160 "failure_reason": "The Address is missing. Please enter in the address shown on the Excerpt from the commercial register showing French address.",_160 "error_code": 22219_160 }_160 ],_160 "requirement_friendly_name": "Business Address (Proof of Address)",_160 "requirement_name": "business_address_proof_info"_160 },_160 {_160 "friendly_name": "Excerpt from the commercial register (Extrait K-bis)",_160 "object_type": "commercial_registrar_excerpt",_160 "passed": false,_160 "failure_reason": "An Excerpt from the commercial register (Extrait K-bis) is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Document Number",_160 "object_field": "document_number",_160 "failure_reason": "The Document Number is missing. Please enter in the Document Number shown on the Excerpt from the commercial register (Extrait K-bis).",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Business Registration Number",_160 "requirement_name": "business_reg_no_info"_160 },_160 {_160 "friendly_name": "Government-issued ID",_160 "object_type": "government_issued_document",_160 "passed": false,_160 "failure_reason": "A Government-issued ID is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "First Name",_160 "object_field": "first_name",_160 "failure_reason": "The First Name is missing. Or, it does not match the First Name you entered within Business information. Please enter in the First Name shown on the Government-issued ID or make sure both First Name fields use the same exact inputs.",_160 "error_code": 22217_160 },_160 {_160 "friendly_name": "Last Name",_160 "object_field": "last_name",_160 "failure_reason": "The Last Name is missing. Or, it does not match the Last Name you entered within Business information. Please enter in the Last Name shown on the Government-issued ID or make sure both Last Name fields use the same exact inputs.",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Name of Authorized Representative",_160 "requirement_name": "name_of_auth_rep_info"_160 },_160 {_160 "friendly_name": "Executed Copy of Power of Attorney",_160 "object_type": "power_of_attorney",_160 "passed": false,_160 "failure_reason": "An Executed Copy of Power of Attorney is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [],_160 "requirement_friendly_name": "Power of Attorney",_160 "requirement_name": "power_of_attorney_info"_160 },_160 {_160 "friendly_name": "Government-issued ID",_160 "object_type": "government_issued_document",_160 "passed": false,_160 "failure_reason": "A Government-issued ID is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "First Name",_160 "object_field": "first_name",_160 "failure_reason": "The First Name is missing on the Governnment-Issued ID.",_160 "error_code": 22217_160 },_160 {_160 "friendly_name": "Last Name",_160 "object_field": "last_name",_160 "failure_reason": "The Last Name is missing on the Government-issued ID",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Name of Person granted the Power of Attorney",_160 "requirement_name": "name_in_power_of_attorney_info"_160 }_160 ]_160}
GET https://trusthub.twilio.com/v1/TrustProducts/{TrustProductSid}/Evaluations/{Sid}
The unique string that we created to identify the trust_product resource.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string that identifies the Evaluation resource.
^EL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_19// Download the helper library from https://www.twilio.com/docs/node/install_19const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";_19_19// Find your Account SID and Auth Token at twilio.com/console_19// and set the environment variables. See http://twil.io/secure_19const accountSid = process.env.TWILIO_ACCOUNT_SID;_19const authToken = process.env.TWILIO_AUTH_TOKEN;_19const client = twilio(accountSid, authToken);_19_19async function fetchTrustProductEvaluation() {_19 const trustProductsEvaluation = await client.trusthub.v1_19 .trustProducts("BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")_19 .trustProductsEvaluations("ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")_19 .fetch();_19_19 console.log(trustProductsEvaluation.sid);_19}_19_19fetchTrustProductEvaluation();
_160{_160 "sid": "ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "policy_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "trust_product_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "status": "noncompliant",_160 "date_created": "2020-04-28T18:14:01Z",_160 "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations/ELaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",_160 "results": [_160 {_160 "friendly_name": "Business",_160 "object_type": "business",_160 "passed": false,_160 "failure_reason": "A Business End-User is missing. Please add one to the regulatory bundle.",_160 "error_code": 22214,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Business Name",_160 "object_field": "business_name",_160 "failure_reason": "The Business Name is missing. Please enter in a Business Name on the Business information.",_160 "error_code": 22215_160 },_160 {_160 "friendly_name": "Business Registration Number",_160 "object_field": "business_registration_number",_160 "failure_reason": "The Business Registration Number is missing. Please enter in a Business Registration Number on the Business information.",_160 "error_code": 22215_160 },_160 {_160 "friendly_name": "First Name",_160 "object_field": "first_name",_160 "failure_reason": "The First Name is missing. Please enter in a First Name on the Business information.",_160 "error_code": 22215_160 },_160 {_160 "friendly_name": "Last Name",_160 "object_field": "last_name",_160 "failure_reason": "The Last Name is missing. Please enter in a Last Name on the Business information.",_160 "error_code": 22215_160 }_160 ],_160 "requirement_friendly_name": "Business",_160 "requirement_name": "business_info"_160 },_160 {_160 "friendly_name": "Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative",_160 "object_type": "commercial_registrar_excerpt",_160 "passed": false,_160 "failure_reason": "An Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Business Name",_160 "object_field": "business_name",_160 "failure_reason": "The Business Name is missing. Or, it does not match the Business Name you entered within Business information. Please enter in the Business Name shown on the Excerpt from the commercial register (Extrait K-bis) showing name of Authorized Representative or make sure both Business Name fields use the same exact inputs.",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Business Name",_160 "requirement_name": "business_name_info"_160 },_160 {_160 "friendly_name": "Excerpt from the commercial register showing French address",_160 "object_type": "commercial_registrar_excerpt",_160 "passed": false,_160 "failure_reason": "An Excerpt from the commercial register showing French address is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Address sid(s)",_160 "object_field": "address_sids",_160 "failure_reason": "The Address is missing. Please enter in the address shown on the Excerpt from the commercial register showing French address.",_160 "error_code": 22219_160 }_160 ],_160 "requirement_friendly_name": "Business Address (Proof of Address)",_160 "requirement_name": "business_address_proof_info"_160 },_160 {_160 "friendly_name": "Excerpt from the commercial register (Extrait K-bis)",_160 "object_type": "commercial_registrar_excerpt",_160 "passed": false,_160 "failure_reason": "An Excerpt from the commercial register (Extrait K-bis) is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "Document Number",_160 "object_field": "document_number",_160 "failure_reason": "The Document Number is missing. Please enter in the Document Number shown on the Excerpt from the commercial register (Extrait K-bis).",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Business Registration Number",_160 "requirement_name": "business_reg_no_info"_160 },_160 {_160 "friendly_name": "Government-issued ID",_160 "object_type": "government_issued_document",_160 "passed": false,_160 "failure_reason": "A Government-issued ID is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "First Name",_160 "object_field": "first_name",_160 "failure_reason": "The First Name is missing. Or, it does not match the First Name you entered within Business information. Please enter in the First Name shown on the Government-issued ID or make sure both First Name fields use the same exact inputs.",_160 "error_code": 22217_160 },_160 {_160 "friendly_name": "Last Name",_160 "object_field": "last_name",_160 "failure_reason": "The Last Name is missing. Or, it does not match the Last Name you entered within Business information. Please enter in the Last Name shown on the Government-issued ID or make sure both Last Name fields use the same exact inputs.",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Name of Authorized Representative",_160 "requirement_name": "name_of_auth_rep_info"_160 },_160 {_160 "friendly_name": "Executed Copy of Power of Attorney",_160 "object_type": "power_of_attorney",_160 "passed": false,_160 "failure_reason": "An Executed Copy of Power of Attorney is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [],_160 "requirement_friendly_name": "Power of Attorney",_160 "requirement_name": "power_of_attorney_info"_160 },_160 {_160 "friendly_name": "Government-issued ID",_160 "object_type": "government_issued_document",_160 "passed": false,_160 "failure_reason": "A Government-issued ID is missing. Please add one to the regulatory bundle.",_160 "error_code": 22216,_160 "valid": [],_160 "invalid": [_160 {_160 "friendly_name": "First Name",_160 "object_field": "first_name",_160 "failure_reason": "The First Name is missing on the Governnment-Issued ID.",_160 "error_code": 22217_160 },_160 {_160 "friendly_name": "Last Name",_160 "object_field": "last_name",_160 "failure_reason": "The Last Name is missing on the Government-issued ID",_160 "error_code": 22217_160 }_160 ],_160 "requirement_friendly_name": "Name of Person granted the Power of Attorney",_160 "requirement_name": "name_in_power_of_attorney_info"_160 }_160 ]_160}
GET https://trusthub.twilio.com/v1/TrustProducts/{TrustProductSid}/Evaluations
The unique string that we created to identify the trust_product resource.
^BU[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
_18// Download the helper library from https://www.twilio.com/docs/node/install_18const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";_18_18// Find your Account SID and Auth Token at twilio.com/console_18// and set the environment variables. See http://twil.io/secure_18const accountSid = process.env.TWILIO_ACCOUNT_SID;_18const authToken = process.env.TWILIO_AUTH_TOKEN;_18const client = twilio(accountSid, authToken);_18_18async function listTrustProductEvaluation() {_18 const trustProductsEvaluations = await client.trusthub.v1_18 .trustProducts("BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")_18 .trustProductsEvaluations.list({ limit: 20 });_18_18 trustProductsEvaluations.forEach((t) => console.log(t.sid));_18}_18_18listTrustProductEvaluation();
_12{_12 "results": [],_12 "meta": {_12 "page": 0,_12 "page_size": 50,_12 "first_page_url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations?PageSize=50&Page=0",_12 "previous_page_url": null,_12 "url": "https://trusthub.twilio.com/v1/TrustProducts/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations?PageSize=50&Page=0",_12 "next_page_url": null,_12 "key": "results"_12 }_12}