/
v3.0.11Get access

getTwoFactorAuthCode

We use this method to trigger sending a two-factor authentication code via SMS to the user's registered phone number, when the backend indicates the user has SMS-based 2FA enabled (2FA enabled when authentication_status === 4 <<subscribeToUserProfile>>)

Request parameters:

The method works without parameters

Call example:

getTwoFactorAuthCode()

Response examples:

{
  details: 'OK'
}

Response parameters:

NameDescriptionTypeValues
details
SMS code send confirmation detailsstring-