Technical Concern | JwtToken of Login API
-
Hi,
We are integrating your API for my trading application and have a concern in https://smartapi.angelbroking.com/publisher-login?api_key=xxx API.
We are facing an issue where the jwtToken token expires every 28 hours. To handle this, We have scheduled a job that triggers every 28 hours to get a new jwtToken token and save it. we then use that token to access other APIs.
The issue is that your login API requires a TOTP (Time-Based One-Time Password) in the request parameter, which is not possible to provide from a scheduled job. We cannot manually provide this every 28 hours. Please guide us on how we can achieve this. If you can provide any API to get the TOTP, that would resolve the issue. Alternatively, if we can get the jwtToken token without TOTP, that would also work.
Please let us know the solution.