Retrieve a list of all Supporting Document Types.
Retrieve a list of all Supporting Document Types.
GET
/v1/SupportingDocumentTypes
curl \
--request GET 'https://trusthub.twilio.com/v1/SupportingDocumentTypes' \
--user "username:password"
Response examples (200)
Read empty
{
"meta": {
"key": "supporting_document_types",
"url": "https://trusthub.twilio.com/v1/SupportingDocumentTypes?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://trusthub.twilio.com/v1/SupportingDocumentTypes?PageSize=50&Page=0",
"previous_page_url": null
},
"supporting_document_types": []
}
{
"meta": {
"key": "supporting_document_types",
"url": "https://trusthub.twilio.com/v1/SupportingDocumentTypes?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://trusthub.twilio.com/v1/SupportingDocumentTypes?PageSize=50&Page=0",
"previous_page_url": null
},
"supporting_document_types": [
{
"sid": "OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/SupportingDocumentTypes/OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"fields": [
{
"constraint": "List",
"machine_name": "address_sids",
"friendly_name": "Address Sids"
}
],
"machine_name": "customer_profile_address",
"friendly_name": "Customer profile address"
},
{
"sid": "OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/SupportingDocumentTypes/OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"fields": [
{
"constraint": "String",
"machine_name": "first_name",
"friendly_name": "First Name"
},
{
"constraint": "String",
"machine_name": "last_name",
"friendly_name": "Last Name"
},
{
"constraint": "String",
"machine_name": "business_name",
"friendly_name": "Business Name"
}
],
"machine_name": "government_issued_proof_of_authorized_representative",
"friendly_name": "Government Issued Identity certifying proof of being an authorized representative of a company"
}
]
}