Skip to main content
POST /api/v1/reset-password No authentication required. Sets a new password for the account associated with the reset token. The token is single-use and becomes invalid after this call.

Request body

token
string
required
The one-time reset token received by email after calling forgot-password.
new_password
string
required
The new password to set for the account.

Response

reset
boolean
required
Always true on success.

Errors

StatusWhen
400Request body is missing required fields
401The reset token is invalid or has expired

Example

curl -X POST http://localhost:8080/api/v1/reset-password \
  -H "Content-Type: application/json" \
  -d '{
    "token": "<reset-token>",
    "new_password": "newSecurePassword456"
  }'
{
  "reset": true
}

Build docs developers (and LLMs) love