cURL
curl --request POST \ --url https://api.kaizenautomation.com/logins/twoFactorAuth/getCode \ --header 'Content-Type: application/json' \ --data ' { "loginId": "<string>" } '
{ "code": "<string>", "secondsRemaining": 123 }
Generates and returns the current TOTP code for a login along with seconds until next code generation
Login ID to get TOTP code for
External ID of the login to get TOTP code for
TOTP code retrieved successfully
The current TOTP code
Seconds until the next TOTP code is generated