Palbase Auth API · API
/auth/resend-verificationRe-send verification email
Always returns 200 with an empty body (enumeration prevention). When the email is
bound to an unverified account the server queues a fresh
verification email; otherwise the response is identical but no
email is sent. The code or link reaches the address by e-mail only. 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) · requiredcurl -X POST "https://<your-ref>.palbase.studio/auth/resend-verification" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"email":"user@example.com"}'Responses
200Verification email queued (or pretend-success for unknown emails)
400Validation failed or required field missing
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 ResendVerification of auth's contract.