cURL
curl --request POST \ --url https://api.quiva.ai/accounts/begin-auth-with-passkey \ --header 'Content-Type: application/json' \ --data ' { "email": "[email protected]", "account": "acme" } '
{ "data": { "challenge": "<string>", "timeout": 123, "rpId": "<string>", "allowCredentials": [ { "id": "<string>", "type": "<string>", "transports": [ "<string>" ] } ], "userVerification": "<string>" } }
Initiates the WebAuthn passkey authentication flow. Returns a challenge for the client to sign with the user’s passkey.
User's email address
Account name (optional)
Passkey authentication challenge
WebAuthn credential assertion options for the client to process
Show child attributes