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
{
"results": [],
"meta": {
"page": 0,
"page_size": 50,
"first_page_url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"previous_page_url": null,
"url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"next_page_url": null,
"key": "results"
}
}
{
"results": [
{
"date_updated": "2021-02-16T20:40:57Z",
"sid": "ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"friendly_name": "auth_rep_1",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trusthub.twilio.com/v1/EndUsers/ITaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2021-02-16T20:40:57Z",
"attributes": {
"phone_number": "+11234567890",
"job_position": "CEO",
"first_name": "rep1",
"last_name": "test",
"business_title": "ceo",
"email": "foobar@test.com"
},
"type": "authorized_representative_1"
}
],
"meta": {
"page": 0,
"page_size": 50,
"first_page_url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"previous_page_url": null,
"url": "https://trusthub.twilio.com/v1/EndUsers?PageSize=50&Page=0",
"next_page_url": null,
"key": "results"
}
}