Palbase Auth API · API
POST
/auth/mfa/email/challengeSend email OTP for MFA challenge
Send a one-time email OTP code during login. Requires a valid
mfa_token from /auth/login.
Called by your app, with the publishable key.
Request body
mfa_tokenstring · requiredcurl
curl -X POST "https://<your-ref>.palbase.studio/auth/mfa/email/challenge" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"mfa_token":"string"}'Responses
200OTP sent
400Validation failed or required field missing
401Missing, invalid, or expired credentials
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation MfaEmailChallenge of auth's contract.