It checks whether the user with the given login and email has been registered. It is intended to be called only by resellers.
Principle of us
Syntax and URL to call the method |
checkUserExists (string login, string email) |
https://api.selzy.com/en/api/checkUserExists?format=json&api_key=KEY&login=LOGIN&email=EMAIL |
Аргументы |
api_key * |
API access key. |
login |
Checked user's login. |
email |
Checked user's email.
WARNING! At least one of the parameters must be specified — login or email. If both parameters are specified, the existence of a user with such login and with such email address is checked independently.
|
Return value |
json object with two fields: "login_exists" и "email_exists", which has a value of 1 if the user with such login or, respectively, email address is found. If the user is not found, the corresponding field will have a value of 0.Example of the Return value:
{"result":{"login_exists":0, "email_exists":1}}
|