Skip to main content

Recovery codes verified

The event is created when a user verifies a recovery code.

ParameterTypeDescription
namestringuser.recovery_codes.verified
descriptionstringRecovery codes verified
user.idstringThe ID of the user
user.loginIdstringThe login ID of the user
user.firstNamestringThe first name of the user
user.lastNamestringThe last name of the user
user.statestringThe state of the user
user.languageCodestringThe language of the user
user.propertiesobjectThe custom properties the user
recoveryCodes.failedReasonstringThe reason in case of recovery code verification failure. Values: invalidInput

Example event

{
"actor": {
"loginId": "[email protected]",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36",
"id": "c3fe8690-46ab-427a-aeb4-91a506f903a9",
"type": "user"
},
"eventId": "0b04706d-6740-11ed-9983-6045bd918f3f",
"name": "user.recovery_codes.verified",
"description": "Recovery codes verified",
"user": {
"firstName": "Abigail",
"lastName": "Mackay",
"loginId": "[email protected]",
"id": "c3fe8690-46ab-427a-aeb4-91a506f903a9",
"languageCode": "en",
"state": "active",
"properties": {
"preferredContactChannel": "email"
}
},
"recoveryCodes": {
"failedReason": "invalidInput"
},
"timestamp": "2022-11-18T12:53:30.725Z",
"status": "failed"
}