Register consumer passkey
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/consent/{token}/passkey" \ -H "Content-Type: application/json" \ -d '{"challenge_id":"cha_01jd2x3k4m5n6p7q8r9s0t1v2w","credential":{}}'Stores the consumer's new passkey from the WebAuthn credential. Anyone holding a pending consent token; rate limited to 30 requests per minute per IP.
https://api.52-28-238-205.sslip.ioPath
tokenstringrequiredOne-time consent token from the link the platform sent the consumer (valid 24 hours).
Body
application/json · required. Fields are listed under Request body below.
token*TokenOne-time consent token from the link the platform sent the consumer (valid 24 hours).
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.
Success.
application/json- response
ok*Okpasskey*[key: string]?anyPOSTGet consumer passkey options
Returns WebAuthn creation options for the consumer to register a passkey. Anyone holding a pending consent token; rate limited to 30 requests per minute per IP.
POSTGet mandate signing options
Drafts the consumer's mandate from the template (limits can only be lowered) and returns WebAuthn assertion options with the mandate hash as the challenge. Anyone holding a pending consent token; rate limited to 30 requests per minute per IP.