SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Update Branded Calling short name/long name for a Pre-approved Bundle

If you need to update Branded Calling short name/long name for a Pre-approved Bundle you can do so through the API .

Please follow the below steps to accomplish this :

(1) Change status of Branded Calling Trust bundle to “draft”

curl -X POST "https://trusthub.twilio.com/v1/TrustProducts/YOUR_TRUST_PRODUCT_SID" \
--data-urlencode "Status=draft" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

(2) Find the UserEntity association by retrieving all of your Entity associations. This will give you a list of objects. You’ll need to choose the entity object_sid that starts with “ITXXXXXXXXXXXXX”

curl -X GET "https://trusthub.twilio.com/v1/CustomerProfiles/BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/EntityAssignments?PageSize=20" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

(3) Remove the association between the old UserEntity and the Customer Profile

curl -X DELETE "https://trusthub.twilio.com/v1/CustomerProfiles/BUXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/EntityAssignments/BVXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN


(4) Create a new UserEntity

ATTRIBUTES=$(cat << EOF
{
"branded_calls_display_name": "NEW_DISPLAY NAME",
"branded_calls_long_display_name": "NEW_LONG DISPLAY NAME"
}
EOF
)
curl -X POST "https://trusthub.twilio.com/v1/EndUsers" \
--data-urlencode "Attributes=$ATTRIBUTES" \
--data-urlencode "FriendlyName=YOUR_END_USER_FRIENDLY_NAME" \
--data-urlencode "Type=branded_calls_information" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN


(5) Associate the new UserEntity with the Branded Calling Trust Product


curl -X POST "https://trusthub.twilio.com/v1/TrustProducts/YOUR_TRUST_PRODUCT_SID/EntityAssignments" \
--data-urlencode "ObjectSid=YOUR_END_USER_SID" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN


(6) Change status of Branded Calling Trust bundle to “pending-review”

curl -X POST "https://trusthub.twilio.com/v1/TrustProducts/YOUR_TRUST_PRODUCT_SID" \
--data-urlencode "Status=pending-review" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN

 

Have more questions? Submit a request
Powered by Zendesk