Get Password Reset Token
Headers
- Type: stringx
-pch -digest requiredThe signature for the API call
- Type: stringContent
- Type requiredSet this header to application/json.
- Type: stringUser
- Agent requiredFor details, see User Agent.
- Type: stringAcceptrequired
Advertises which content types the client is able to understand
Body
application/json
- Type: stringclientrequired
Client key of the business
- Properties: 1Type: objectuser
Responses
- application/json
- 400
Request Example for post/api/auth/users/reset_password_token
curl https://SERVER_NAME_GOES_HERE.punchh.com/api/auth/users/reset_password_token \
--request POST \
--header 'x-pch-digest: SIGNATURE_GOES_HERE' \
--header 'Content-Type: application/json' \
--header 'User-Agent: Punchh/OnlineOrder/1.0/Web/BrowserVersion/OS_Type' \
--header 'Accept: application/json' \
--data '{
"user": {
"email": "guest@example.com"
},
"client": "CLIENT_GOES_HERE"
}'
{
"reset_password_token": "RESET_PASSWORD_TOKEN_GOES_HERE",
"token_expire_at": "2016-02-26T23:36:38Z"
}