Users MFA
Start passkey MFA enrollment
Changed onReturns WebAuthn registration options for a new MFA passkey.
post/v1/users/{user_id}/mfa/passkey/enrollment/init
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/users/{user_id}/mfa/passkey/enrollment/init
- AuthHTTP basic
Path parameters
user_idstring required
Headers
privy-app-idstring required
ID of your Privy app.
privy-user-tokenstring required
Access token or custom authentication JWT for the user the request acts on.
privy-mfa-tokenstring
MFA token from a completed MFA verification, required on MFA-protected requests for users with MFA enrolled.
Request body
Response
WebAuthn registration options.
Changes
- info
endpoint added
- info