createPasskey

Creates a new passkey for the current user or the user with the given session ID.

Passkeys are a modern, secure authentication method that uses cryptographic key pairs. The creation process will typically prompt the user to use their device's biometric authentication (fingerprint, face recognition) or device PIN to create the passkey.

Return

A ClerkResult containing the created Passkey object on success, or a ClerkErrorResponse on failure