POST
/v1/EndUsers
curl \
--request POST 'https://trusthub.twilio.com/v1/EndUsers' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Type=authorized_representative_1&Attributes=%7B%7D&FriendlyName=auth_rep_1'
Request example
{"Type"=>"authorized_representative_1", "Attributes"=>"{}", "FriendlyName"=>"auth_rep_1"}
Response examples (201)
{
"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"
}