Enroll TOTP-based two-factor authentication on your account so scripts can log in without manual OTP entry.
Overview
Shoonya's programmatic login replaces the SMS/app OTP step with a TOTP (Time-based One-Time Password) secret, the same standard used by Google Authenticator. Once enrolled, your script generates the current OTP locally instead of waiting on an SMS.
Enrollment steps
Log in to the Shoonya web terminal and open Profile → Security → TOTP Setup.
Scan the displayed QR code with an authenticator app, or copy the raw base32 secret shown below it.
Enter the 6-digit code your app generates to confirm enrollment.
Store the base32 secret — this is what your code uses to generate OTPs programmatically. It is shown only once.
One secret, two purposesThe same TOTP secret can drive both your phone's authenticator app and your script. If you lose it, you'll need to re-enroll from the web terminal — Shoonya cannot recover a lost secret.
Overview
Shoonya's programmatic login replaces the SMS/app OTP step with a TOTP (Time-based One-Time Password) secret, the same standard used by Google Authenticator. Once enrolled, your script generates the current OTP locally instead of waiting on an SMS.
Enrollment steps
Generating OTPs in code
Best practices
Notes
Continue to Auto Login (TOTP) to use this secret in an authenticated request.