XM
Members
Verify Reset Token
Path:
1
GET https://{baseurl}/api-commerceIdentity/auth/token/{resetToken}
Copied!
Triggered for security purposes, to ensure the password reset token is correct.
Headers
Content-Type : application/json
x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox" }
x-api-key : d41d8cd98f00b204e9800998ecf8427e

Parameters

Type : Path
Name : The Reset Token ID.
Required : true

Sample Request

Path
1
https://{baseurl}/auth/token/5e97e4d13cb8553c0e43d88a
Copied!

Response

HTTP Code : 200 Message : OK
Description: You will see this message when the reset token is valid.
Sample
1
{
2
"tokenValid": true,
3
"userId": "5e97947d3cb8553c0e43d87f"
4
}
Copied!
HTTP Code : 404 Message : Not Found
Description: You'll see this message when the reset token is incorrect or has expired.
Sample
1
{
2
"code": "VERIFY_TOKEN_FAILED",
3
"message": "Token not found."
4
}
Copied!

Changelog

Last updated - July 2020
Last modified 5mo ago
Copy link
Contents
Changelog