Table of Contents

Two-factor authentication adress verification

Command user/verify_auth - sends code to specified address and returns it, so you can check that address is valid.

svc=user/verify_auth&params={"userId":<long>,
			     "type":<uint>,
			     "destination":<text>}

Parameters

Name Description
userId user ID
type address type (0 - sms, 1 - email)
destination email or phone number

Response

{
	"code":<text>	/* code */
}