Generate MFA secret
Generates a new MFA secret and QR code for the authenticated user to set up TOTP.
GET
/api/users/mfa/generateRequest
curl
curl -X GET https://platform.trickest.com/api/users/mfa/generate \
-H "Authorization: Bearer $TRICKEST_TOKEN"Responses
200MFA secret and QR code data
successboolean400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring