verifyEmail

client.verifyEmail({
  accessToken: string,
  email: string,
  verificationCode: string
})

About this command

Verify the profile’s email with a verification code.

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

Examples

client.verifyEmail({
    accessToken: 'eeJ1eXAiOiJKV1QiL...',
    email: 'first.last@example.com',
    verificationCode: '123456'
  })

Parameters

accessToken string

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

email string

The user’s email address.

verificationCode string

The verification code sent by email or SMS.

Response

Type: Promise[void]