Users MFA
Start TOTP MFA enrollment
Changed onCreates a TOTP secret for the user to add to an authenticator app.
post/v1/users/{user_id}/mfa/totp/enrollment/init
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/users/{user_id}/mfa/totp/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.
Response
Authenticator setup information.
Changes
- info
endpoint added
- info