Begin authenticator-app (TOTP) enrollment
curl --request POST \
--url https://pria.praxislxp.com/api/user/me/totp/setup \
--header 'Authorization: Bearer <token>'{
"success": true,
"otpauthUrl": "otpauth://totp/Praxis%20AI:user@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Praxis%20AI",
"secret": "JBSWY3DPEHPK3PXP"
}User Profile
Begin authenticator-app (TOTP) enrollment
Generates a fresh TOTP secret, stores it sealed as a pending secret
(confirm-before-enable — this call does NOT activate TOTP), and returns
the otpauthUrl (render as a QR code) plus the base32 secret for
manual entry. The user proves possession by calling
/api/user/me/totp/confirm.
POST
/
api
/
user
/
me
/
totp
/
setup
Begin authenticator-app (TOTP) enrollment
curl --request POST \
--url https://pria.praxislxp.com/api/user/me/totp/setup \
--header 'Authorization: Bearer <token>'{
"success": true,
"otpauthUrl": "otpauth://totp/Praxis%20AI:user@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Praxis%20AI",
"secret": "JBSWY3DPEHPK3PXP"
}Authorizations
JWT token passed in authorization header
Was this page helpful?
⌘I