POST
Set up a passkey (finish)
Step 2 of the passkey path. Send the session_token and the base64url-encoded attestation the device produced. On success the passkey is stored. Then call Finish security setup to get tokens.

Headers

x-program-id
string
required

Identifies the program. Can also be sent as the programId query parameter.

Body

application/json
session_token
string
required
Example:

"3f1c2e8a-9b4d-4e6f-8a1b-2c3d4e5f6a7b"

attestation
object
required

Base64url-encoded values from the browser credential.

Response

Passkey stored

success
boolean
Example:

true

data
object