Hello @johngeorge
please use this code in your code to use a totp functionality

Screenshot 2024-05-07 at 5.10.38 PM.png
Regards,
SmartAPI Team