Palbase Auth API · API
/auth/webauthn/recovery/register/beginBegin registering a recovery passkey
Start registering a recovery passkey for the authenticated user.
Recovery credentials can only be used via
/auth/webauthn/recovery/*, never for normal login. An account whose email address is not confirmed is refused (403 email_unconfirmed): no sign-in method is added to it until its address is confirmed, as its owner, proving the address, takes the account as it was opened.
Called by a signed-in user of your app, with their token and the publishable key.
Request body
namestring · optionalcurl -X POST "https://<your-ref>.palbase.studio/auth/webauthn/recovery/register/begin" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN" \
-H "content-type: application/json" \
-d '{"name":"string"}'Responses
200PublicKeyCredentialCreationOptions wrapped under `options`
401Missing, invalid, or expired credentials
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation WebauthnRecoveryRegisterBegin of auth's contract.