Skip to main content
POST
/
api
/
v1
/
recovery
/
verify
curl -X POST https://api.gosentrix.io/api/v1/recovery/verify \
  -H "Content-Type: application/json" \
  -d '{
    "token": "RECOVERY_TOKEN_FROM_EMAIL"
  }'
{
  "verified": true,
  "reset_token": "RESET_TOKEN_FOR_PASSWORD_CHANGE"
}
Verify the recovery token received via email.
curl -X POST https://api.gosentrix.io/api/v1/recovery/verify \
  -H "Content-Type: application/json" \
  -d '{
    "token": "RECOVERY_TOKEN_FROM_EMAIL"
  }'
{
  "verified": true,
  "reset_token": "RESET_TOKEN_FOR_PASSWORD_CHANGE"
}

Request Body

token
string
required
Recovery token from email

Response

verified
boolean
Verification status
reset_token
string
Token to use for password reset (see Recovery Complete)

Errors

400
object
Invalid or expired token
404
object
Token not found

Notes

  • Recovery tokens are single-use
  • Tokens expire after 1 hour
  • See Recovery Complete to reset password