Menu

Expand
Rate this page:

user_phone_changed

This event is triggered when a phone number is successfully changed.

user_phone_changed is an admin/user event, and will be generated for OneCode, SoftToken, and OneTouch users.

Event attributes

event The name of the event
objects.app.s_account_sid The Twilio ID of the account
objects.app.s_device_app The authentication application being used by the device; this will be authy, a custom branded customer app name, or an SDK-based app name
objects.app.s_id The ID of the customer app
objects.app.s_type The type of the customer app; either full or trial
objects.device.s_creation_date The date when the device was created
objects.device.s_device_app The authentication application which was used to enroll the device; this will be authy, a white-label customer app name, or an SDK-based app name
objects.device.s_device_type The device’s type; possible values are- unknown, android, iphone, ipad, ipod, iwatch, android_tablet, ios, chrome, blackberry
objects.device.s_errors A list of errors created when updating or creating a device; may be empty
objects.device.s_id The ID of the device
objects.device.s_ip The last known IP of the device
objects.device.s_last_used_date The last date when the device was used
objects.device.s_name The name of the device
objects.device.s_sync_date The sync date of the device; set when an authentication application is opened
objects.device.s_user_agent The device’s user agent
objects.device.s_version The version of the app running this device
objects.user.s_authy_id The user’s Authy ID
objects.user.as_authy_ids A list of Authy IDs associated with a user; a user may have multiple Authy IDs if they created and then merged multiple accounts
objects.user.b_banned Whether or not the user is banned
objects.user.s_country_code The country code of the user’s phone number
objects.user.s_locale The locale of the user
objects.user.s_phone_number The user’s phone number
request.id The unique ID of the request
request.ip The IP address where the request originated
time The datetime when the event happened
Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif