Palbase Auth API · API
POST
/auth/webauthn/signup/beginBegin passkey-first signup
Start a passkey-first signup — creates the user and returns
PublicKeyCredentialCreationOptions to bind the first passkey.
Finish the ceremony at /auth/webauthn/signup/finish carrying
the returned user_id as a query parameter.
403 signups_closed while the project takes no new users.
Called by your app, with the publishable key.
Request body
identifierstring · optionalThe e-mail address or phone number the project names as the passkey identifier.user_namestring · optionalWhat the authenticator shows for the account; required when there is no identifier.curl
curl -X POST "https://<your-ref>.palbase.studio/auth/webauthn/signup/begin" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "content-type: application/json" \
-d '{"identifier":"string","user_name":"string"}'Responses
200Creation options + new user_id
400Validation failed or required field missing
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 WebauthnSignupBegin of auth's contract.