Skip to main content
POST
/
api
/
auth
/
email
/
reset-password
Reset password with token
curl --request POST \
  --url https://api.example.com/api/auth/email/reset-password \
  --header 'Content-Type: application/json' \
  --data '
{
  "newPassword": "newSecurePassword123",
  "otp": "a1b2c3d4..."
}
'
{
  "message": "Password reset successfully"
}

Body

application/json
newPassword
string
required

New password meeting configured requirements

Example:

"newSecurePassword123"

otp
string
required

Reset token (either from magic link or from exchange-reset-password-token endpoint)

Example:

"a1b2c3d4..."

Response

Password reset successfully

message
string
Example:

"Password reset successfully"