API access token generation

Hii @RajivK , we are happy to share that the Dhan Algos feature is now live! Your valuable input helped shape this feature, and we’d love to know your experience with it.

For more details, please visit the link below: Introducing DhanHQ Algos – Choose, Deploy & Monitor Expert-Built Algo Strategies on the Go

The post doesn’t mention anything about fully automatic browser based logic step during access token generation. I have successfully setup TOTP but can’t seem to bypass the manual step for browser login to generate tokenId from TOTP authentication. I am using java to consume APIs, so is it possible to completely automate browser based login step?

Hey @Tilted_Gamer

Welcome to MadeForTrade community!

While it is possible to automatically do the browser login step, you might have to write the code to open the browser automatically and fill in the necessary sections.
Also, there is a another way as well which is added as part of access token itself.

So what I gather is somehow I need to automate the browser login step, but before I do that can you please let me know if Dhan team is currently working on any new API which they are planning to launch in near future that will eliminate the browser login step (which is currently our responsibility to automate) and replace that with a API call which directly accepts TOTP code to generate tokenId?

1 Like

correct like upstox having separate upstox autologin api