Authentication
POST/v1/auth/passkey/register/options
Get passkey registration options
curl -X POST "https://api.52-28-238-205.sslip.io/v1/auth/passkey/register/options" \ -H "Cookie: <console session cookie>"Returns WebAuthn creation options (ES256, resident key, user verification required). Console session only; a user who already has a passkey must complete a passkey step-up first. The challenge expires after 5 minutes.
Server URL
https://api.52-28-238-205.sslip.ioPOST/v1/auth/passkey/register/optionsBase URL: https://api.52-28-238-205.sslip.io
Authorization
sessionCookie: <console session cookie>
sessioncookie
uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
Success.
application/json- response
WebAuthn PublicKeyCredentialCreationOptions (JSON) plus challenge_id.
rp*user*challenge*ChallengeMessage to sign with the payTo address key to prove control of it.
pubKeyCredParams*array<>timeout?integer|nullexcludeCredentials?array<>|nullauthenticatorSelection?|nullattestation?string|nullchallenge_id*Challenge IdId of the passkey challenge returned by the matching options call.
[key: string]?any