# 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                                                                                                              |
