Palbase Auth API · API
/auth/step-up/sms/sendText a step-up code
Text the signed-in user's SMS factor a code for a step-up; POST /auth/step-up
with method sms checks it. The project's SMS second-factor policy and its
per-phone rate limit apply; a test fixture's fixed code is never texted.
A session below aal2 whose only factor is the phone (a phone code's sign-in) is
refused before anything is texted (400 same_factor): a second text adds nothing.
Called by a signed-in user of your app, with their token and the publishable key.
curl -X POST "https://<your-ref>.palbase.studio/auth/step-up/sms/send" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN"Responses
200The code was texted
400Validation failed or required field missing
401Missing, invalid, or expired credentials
403Authenticated but not permitted (banned, hook denial, role mismatch)
429Rate limit exceeded
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation StepUpSMSSend of auth's contract.