Retrieve a list of all End User for an account.
Retrieve a list of all End User for an account.
GET
/v1/EndUsers
curl \
--request GET 'https://trusthub.twilio.com/v1/EndUsers' \
--user "username:password"
Response examples (200)
Read empty
{
"meta": {
"key": "results",
"url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"previous_page_url": null
},
"results": []
}
{
"meta": {
"key": "results",
"url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"previous_page_url": null
},
"results": [
{
"sid": "ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/EndUsers/ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "authorized_representative_1",
"attributes": {
"email": "foobar@test.com",
"last_name": "test",
"first_name": "rep1",
"job_position": "CEO",
"phone_number": "+11234567890",
"business_title": "ceo"
},
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2021-02-16T20:40:57Z",
"date_updated": "2021-02-16T20:40:57Z",
"friendly_name": "auth_rep_1"
}
]
}