Palbase Auth API · API
/auth/password/resetRequest password reset email
Always returns 200 (enumeration prevention). The plain-text
request never reveals whether the email is registered. Subject to
rate limiting (3 per 15 min per account). Asks a proof of work first (403 pow_required, which the SDKs solve), its difficulty rising when the project's attempts surge: a bot that posts it in a loop pays seconds a request.
Called by your app, with the publishable key.
Headers
X-PoW-Challenge-IDstring · optionalThe challenge a previous `pow_required` answer carried.X-PoW-Noncestring · optionalThe nonce that solves it.Request body
emailstring (email) · requiredredirect_tostring (uri) · optionalWhere the reset link lands instead of the project's site URL: an address the auth settings' redirect_urls allow, or one of the project's web apps' redirects (apps:env:set --redirect); any other is refused (invalid_redirect).curl -X POST "https://<your-ref>.palbase.studio/auth/password/reset" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"email":"user@example.com"}'Responses
200Reset email queued (or pretend-success)
403A proof of work is required (`pow_required`, with the challenge): this route sends an email, and its work rises with the project's surge of attempts — 16 bits, 20 past 30 attempts a minute, 24 past 120. The SDKs solve it and send the request again.
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation PasswordResetRequest of auth's contract.