palbaseDocs

Palbase Auth API · API

POST/auth/password/reset/confirm

Complete password reset

Redeems the reset token from the email and sets the new password. Password must be 15+ chars (NIST 800-63B-4), not in the HIBP breach corpus, and not in the user's last-4 password history (PCI DSS 8.3.7).

Called by your app, with the publishable key.

Request body

new_passwordstring (password) · required
tokenstring · required
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/password/reset/confirm" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "content-type: application/json" \
  -d '{"new_password":"string","token":"string"}'

Responses

200Password reset

400Validation failed or required field missing

503Downstream dependency unavailable (typically HIBP / breach service)

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation PasswordResetConfirm of auth's contract.