Public endpoints
POST/v1/public/consent/{token}/passkey

Register consumer passkey

View as .md
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.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/public/consent/{token}/passkeyBase URL: https://api.52-28-238-205.sslip.io
Path
  • tokenstringrequired

    One-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.

Path Parameters

token*Token

One-time consent token from the link the platform sent the consumer (valid 24 hours).

Request Body

application/json
  1. body
challenge_id*Challenge Id

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

credential*

The passkey assertion (WebAuthn) produced for the challenge.

Response Body

Success.

application/json
  1. response
ok*Ok
passkey*
[key: string]?any