GET
/v1/Policies
curl \
--request GET 'https://trusthub.twilio.com/v1/Policies' \
--user "username:password"
Response examples (200)
Read empty
{
"meta": {
"key": "results",
"url": "https://trusthub.twilio.com/v1/Policies?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://trusthub.twilio.com/v1/Policies?PageSize=50&Page=0",
"previous_page_url": null
},
"results": []
}
{
"meta": {
"key": "results",
"url": "https://trusthub.twilio.com/v1/Policies?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://trusthub.twilio.com/v1/Policies?PageSize=50&Page=0",
"previous_page_url": null
},
"results": [
{
"sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/Policies/RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"requirements": {
"end_user": [
{
"url": "/EndUserTypes/customer_profile_business_information",
"name": "Business Information",
"type": "customer_profile_business_information",
"fields": [
"business_type",
"business_registration_number",
"business_name",
"business_registration_identifier",
"business_identity",
"business_industry",
"website_url",
"business_regions_of_operation",
"social_media_profile_urls"
],
"requirement_name": "customer_profile_business_information"
},
{
"url": "/EndUserTypes/authorized_representative_1",
"name": "Authorized Representative 1",
"type": "authorized_representative_1",
"fields": [
"first_name",
"last_name",
"email",
"phone_number",
"business_title",
"job_position"
],
"requirement_name": "authorized_representative_1"
},
{
"url": "/EndUserTypes/authorized_representative_2",
"name": "Authorized Representative 2",
"type": "authorized_representative_2",
"fields": [
"first_name",
"last_name",
"email",
"phone_number",
"business_title",
"job_position"
],
"requirement_name": "authorized_representative_2"
}
],
"supporting_document": [
[
{
"name": "Physical Business Address",
"type": "document",
"description": "Customer Profile HQ Physical Address",
"requirement_name": "customer_profile_address",
"accepted_documents": [
{
"url": "/SupportingDocumentTypes/customer_profile_address",
"name": "Physical Business Address",
"type": "customer_profile_address",
"fields": [
"address_sids"
]
}
]
}
]
],
"supporting_trust_products": [],
"supporting_customer_profiles": []
},
"friendly_name": "Primary Customer Profile of type Business"
}
]
}