Command user/verify_auth - sends code to specified address and returns it, so you can check that address is valid.
svc=user/verify_auth¶ms={"userId":<long>, "type":<uint>, "destination":<text>}
Name | Description |
---|---|
userId | user ID |
type | address type (0 - sms, 1 - email) |
destination | email or phone number |
{ "code":<text> /* code */ }
|