Reset Password
Check your e-mail for further instructions.
Reset
Name
verifyemail
Auth
no
Description
Verify an email
Expects parameter code that is the activation code sent in validation emails.
In case of valid code, validates user's email address and returns email and userid of the verified user.
Please keep in mind that the code might be for a user, different than the currently logged one (if any).
URL
https://api.pcloud.com/verifyemail
Required
Parameter | Description |
code | string activation code sent in validation emails |
Output
Field | Description |
string email of the user | |
userid | int id of the user |
Example
{ "result": 0, "email": "pcloud@pcloud.com", "userid": 1234 }
Code | Description |
1000 | Log in required. |
1022 | Please provide 'code'. |
2000 | Log in failed. |
2012 | Invalid 'code' provided. |
2013 | Email is already verified. |
4000 | Too many login tries from this IP address. |
5000 | Internal error. Try again later. |