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​
| Field | Type | Required | Description |
|---|---|---|---|
token | string | Yes | One-time reset token from the email link |
new_password | string | Yes | The 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​
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_TOKEN | Token is malformed or has already been used |
| 400 | TOKEN_EXPIRED | Token has expired (reset links are time-limited) |