Skip to main content
POST
/
accounts
/
complete-auth-with-passkey
Complete passkey authentication
curl --request POST \
  --url https://api.quiva.ai/accounts/complete-auth-with-passkey \
  --header 'Content-Type: application/json' \
  --data '
{
  "credential": "<string>",
  "account": "<string>",
  "token": "<string>",
  "email": "<string>"
}
'
{
  "data": {
    "refresh_token": "<string>",
    "auth_token": "<string>",
    "passkey_enabled": true,
    "totp_enabled": true
  }
}

Body

application/json
credential
string
required

WebAuthn credential

account
string

Account name

token
string

MFA token

email
string

User email

Response

Authentication successful

data
object
required