palbaseDocs

Palbase Auth API · API

POST/auth/webauthn/signup/finish

Complete passkey-first signup

Complete a passkey-first signup by submitting the authenticator attestation for the user returned by /auth/webauthn/signup/begin.

403 signups_closed while the project takes no new users.

Called by your app, with the publishable key.

Query

user_idstring · requiredUser ID returned by `/auth/webauthn/signup/begin`.

Request body

authenticatorAttachmentstring · optional
clientExtensionResultsobject · optional
idstring · required
rawIdstring · required
responseobject · required
type"public-key" · required
curl
curl -X POST "https://<your-ref>.palbase.studio/auth/webauthn/signup/finish" \
  -H "apikey: $PALBASE_PUBLISHABLE_KEY" \
  -H "content-type: application/json" \
  -d '{"id":"string","rawId":"string","response":{"attestationObject":"string","authenticatorData":"string","clientDataJSON":"string","publicKey":"string","publicKeyAlgorithm":0,"transports":["string"]},"type":"public-key"}'

Responses

201Passkey registered

400Validation failed or required field missing

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

409Conflict with current resource state (duplicate, race)

503Downstream dependency unavailable (typically HIBP / breach service)

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

Operation WebauthnSignupFinish of auth's contract.