Get Password Reset Token

​

Headers

  • The signature for the API call

  • Set this header to application/json.

  • For details, see User Agent.

  • Advertises which content types the client is able to understand

Body

application/json
  • Client key of the business

  • Properties: 1

Responses

  • application/json
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"
}