Skip to main content

POST /api/v1/auth/reset-password

Reset a user's password using the token received via the password reset email. The token is a one-time-use value included as a query parameter in the reset link.

Authentication​

None

Request​

FieldTypeRequiredDescription
tokenstringYesOne-time reset token from the email link
new_passwordstringYesThe new password to set

Example​

curl -X POST https://intotes.com/api/v1/auth/reset-password \
-H "Content-Type: application/json" \
-d '{
"token": "eyJhbGciOiJIUzI1NiIs...",
"new_password": "newSecurePassword456"
}'

Response​

200 OK​

{
"success": true
}

Errors​

StatusCodeDescription
400INVALID_TOKENToken is malformed or has already been used
400TOKEN_EXPIREDToken has expired (reset links are time-limited)