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