Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎3 - Profile Store‎ > ‎

Forgot Password

Method used to begin the forgot password process.  Calling this method will return a reset password token which will allow the user to create a new password via the reset password method.  The process can be started with either the profile's email address or the username.

Method: POST /api/v3/publisher/profilestore/forgotpassword


Authentication: oauth
 
Post
Required Form Name Data Type Explanation
NoEmail string The email address of the profile to reset.
No
Usernamestring The username of the profile to reset.
NoSendEmail
bool
If true, the user will be sent an email with a link to reset his password.  (true by default)

Returns
base response fields
resetToken - The reset token for a successful forgot password request.


Sample Request:

POST http://api.groupcommerce.com/api/v3/publisher/profilestore/forgotpassword

Form: Username=&Email=email1%40email.com

Authorization: OAuth oauth_signature="3YOwwW8N37X87DOTmEdNyh3ZPd4%3d", oauth_nonce="1939976", oauth_timestamp="1320710164", oauth_consumer_key="eeb6b959-b854-4ad1-b563-e801c83cf81d", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"


Sample JSON Response:

{
    "errors":[],
    "lastPublished":"/Date(1319762442406)/",
    "success":true,
    "version":"3",
    "resetToken":"
ece76e18d3cd419d9d7f314c954e5f4d"
}


Sample XML Response:

<forgotPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <errors/>
    <lastPublished>2011-10-28T00:41:46.6073105Z</lastPublished>
    <success>true</success>
    <version>3</version>
    <resetToken>
ece76e18d3cd419d9d7f314c954e5f4d</resetToken>
</forgotPasswordResponse>
Comments