Authentication
POST/v1/auth/passkey/register/options

Get passkey registration options

View as .md
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 URLhttps://api.52-28-238-205.sslip.io
POST/v1/auth/passkey/register/optionsBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>

Authorization

session
cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Response Body

Success.

application/json
  1. response

WebAuthn PublicKeyCredentialCreationOptions (JSON) plus challenge_id.

rp*
user*
challenge*Challenge

Message to sign with the payTo address key to prove control of it.

pubKeyCredParams*array<>
timeout?integer|null
excludeCredentials?array<>|null
authenticatorSelection?|null
attestation?string|null
challenge_id*Challenge Id

Id of the passkey challenge returned by the matching options call.

[key: string]?any