Register passkey
curl -X POST "https://api.52-28-238-205.sslip.io/v1/auth/passkey/register/verify" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"challenge_id":"cha_01jd2x3k4m5n6p7q8r9s0t1v2w","credential":{}}'Verifies the WebAuthn attestation and stores the new passkey; the session counts as freshly verified. Console session only.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>
Body
application/json · required. Fields are listed under Request body below.
sessionuapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
application/json- body
challenge_id*Challenge IdId of the passkey challenge returned by the matching options call.
credential*The passkey assertion (WebAuthn) produced for the challenge.
label?string|nullSuccess.
application/json- response
id*Idlabel?string|null[key: string]?anyPOSTGet passkey registration options
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.
POSTGet passkey sign-in options
Returns discoverable-credential WebAuthn request options for passkey sign-in. Callable by anyone; the challenge expires after 5 minutes.