API Reference

Users.validateVerificationCode



Syntax

bool users.validateVerificationCode ( int vhost, int verificationCode, int phone = 0, int countryCode = 0, string email = '' )

Arguments

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
verificationCodeintRequirednoneThe code that was sent to the user via sendVerificationCode
phoneintOptional0Phone number of the user, numeric only
countryCodeintOptional0country code of the user, numeric only
emailstringOptional''Email address that was used to send the verifcationCode

Sample Response

Code examples

0 comments

Be the first to comment on validateVerificationCode.

Add a Comment

  • captcha