Skip to main content
POST
/
accounts
/
begin-auth-with-passkey
Begin passkey authentication
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>"
  }
}

Body

application/json
email
string<email>
required

User's email address

account
string

Account name (optional)

Response

Passkey authentication challenge

data
object
required

WebAuthn credential assertion options for the client to process