palbaseDocs

Palbase Auth API · API

GET/admin/providers/phone/settings

Read phone sign-in settings

Returns the phone one-time-code settings: whether a code may create an account, code lifetime, attempts, and whose SMS rail sends it.

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/admin/providers/phone/settings" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The phone settings

400Validation failed or required field missing

401Missing, invalid, or expired credentials

403Authenticated but not permitted (banned, hook denial, role mismatch)

503Downstream dependency unavailable (typically HIBP / breach service)

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

Operation AdminGetPhoneSettings of auth's contract.