The Login with TOTP authentication for Kotak Securities Trade API allows secure and automated user authentication by leveraging Time-based One-Time Passwords (TOTP). This is a three-step process:
Below is comprehensive, user-friendly documentation for both steps.
TOTP stands for Time-based One-Time Password. Unlike SMS OTP, which is sent to your phone, a TOTP is generated every 30 seconds in an authenticator app (e.g., Google Authenticator, Microsoft Authenticator).
API Access Token is issued from the NEO App. Go to Invest → Trade API, create an app under Your Applications, and copy the token shown. This token is your access token, and must be passed in the
Authorization
header of the Login APIs.
Authenticate your account using mobile number, UCC, and TOTP. On success, you receive a view token (token
), along with session identifiers to be used in the next step.
POST <https://mis.kotaksecurities.com/login/1.0/tradeApiLogin>