Users MFA

Start TOTP MFA enrollment

Changed on

Creates a TOTP secret for the user to add to an authenticator app.

post/v1/users/{user_id}/mfa/totp/enrollment/init

Request

  • Base URL
    https://api.privy.io
  • URL
    https://api.privy.io/v1/users/{user_id}/mfa/totp/enrollment/init
  • Auth
    HTTP 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