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 Voice Integrity Pre-approved Bundle

If you need to update your Business Employee Count or Average Business Day Call Volume for a Pre-approved Bundle you can do so through the API .

Please follow the below steps to accomplish this :

(1) Change status of Voice Integrity 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
{
"average_business_day_call_volume": "20",
"business_employee_count": "20",
"notes": "Surveying people to learn about demographics",
"use_case": "Survey/Research"
}
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=voice_integrity_information" \
-u $TWILIO_ACCOUNT_SID:$TWILIO_AUTH_TOKEN


(5) Associate the new UserEntity with the Voice Integrity 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 Voice Integrity 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