Introduction
NOTE: As per the mandate, it is mandatory for the clients to enable two factor authentication in order to use the API services.
Enabling Two-Factor Authentication (TOTP)
To enhance the security of your trading experience, you can enable Two-Factor Authentication (TOTP). Begin by logging in to the retail frontend with your credentials, and then navigate to the profile section where you'll find the option to activate TOTP. Once enabled, you need to redirect to the {{server_url}}/rest/login?api_key= in order to use the API services. Fill in the necessary details. As part of the setup process, you'll be required to input the Time-based One-Time Password (TOTP) generated by your authentication app. The system will validate the TOTP, and upon successful validation, you'll receive an access token. This access token is valid until the end of the day and should be included in your login API requests for trading, along with the appropriate set of API keys. This additional layer of security ensures your trading activities are safeguarded.