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"
}
Authentication API
Verify Recovery
Verify recovery token
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
string
required
Recovery token from email
Response
boolean
Verification status
string
Token to use for password reset (see Recovery Complete)
Errors
object
Invalid or expired token
object
Token not found
Notes
- Recovery tokens are single-use
- Tokens expire after 1 hour
- See Recovery Complete to reset password