Skip to content

Forgot Password

Request

Request to change the user's password. An email will be sent to the user containing a verification code.

Errors

Error CodeError TypeError Message
-1004ALREADY-LOGGED-INYou are already logged in
-1005MISSING-USERNAMEusername field missing
-1030ERR_INVALID_USERInvalid username
-1032ERR_RESET_PASSWORDWe have experienced some technical difficulties resetting your password. Please contact support@avanser.com
Query
usernamestringrequired

The user's AVANSER username, or the email address associated with their account.

curl -i -X POST \
  'https://p3.avanser.com/app/forgotpassword?username=string'

Responses

Password change requested.

Bodyapplication/json
timestampintegerrequired

The time that the API response left the server, represented as the number of seconds since the UNIX epoch.

Example:1508903167
exectionnumber

The number of seconds that it took to process the API request.

Example:0.00041531896591187
errorbooleanrequired

Boolean indicating whether there was an error returned by the API request.

Example:false
datastringrequired

The data returned by the API. The format varies depending on the API function that was called.

Response
{ "timestamp": 1508903167, "exection": 0.00041531896591187, "error": false, "data": "OK" }