verifyPhoneNumber

client.verifyPhoneNumber({
  accessToken: string,
  phoneNumber: string,
  verificationCode: string
})

About this command

Verify the profile phone number with the verification code sent by SMS.

  • The profile must have been granted the full_write scope at the last authentication.

Examples

client.verifyPhoneNumber({
  accessToken: 'eyJ0eXAiOiJKV1QiL...',
  phoneNumber: '+33606060606',
  verificationCode: '123456'
})

Parameters

accessToken string

The authorization credential JSON Web Token (JWT) used to access the ReachFive API, less than five minutes old.

phoneNumber string

The user’s phone number.

Both the international format and the national conventions of the account’s country are accepted if configured in account settings.

verificationCode string

The verification code sent by email or SMS.

Response

Type: Promise[void]