Retrieve a list of all Supporting Document Types.
Retrieve a list of all Supporting Document Types.
GET
/v2/RegulatoryCompliance/SupportingDocumentTypes
curl \
--request GET 'https://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocumentTypes' \
--user "username:password"
Response examples (200)
Read empty
{
"meta": {
"key": "supporting_document_types",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocumentTypes?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocumentTypes?PageSize=50&Page=0",
"previous_page_url": null
},
"supporting_document_types": []
}
{
"meta": {
"key": "supporting_document_types",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocumentTypes?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocumentTypes?PageSize=50&Page=0",
"previous_page_url": null
},
"supporting_document_types": [
{
"sid": "OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/SupportingDocumentTypes/OYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"fields": [
{
"constraint": "String",
"machine_name": "last_name",
"friendly_name": "Last Name"
}
],
"machine_name": "passport",
"friendly_name": "Passport"
}
]
}