Is it possible to get request_toke through script?

eine91
Hi there,

I have read all documnetation & also implemented required api's for me successfully.

The problem left for me is generating request_token automatically.

As per documentation we need to run url https://kite.zerodha.com/connect/login?v=3&api_key=xxx in browser manually for generating the request_token.

But I want to automate the same.

I tried above url posting through curl but receiving below login url (viz. obvius).

https://kite.zerodha.com/connect/login?api_key=xxx&sess_id=yyy

But is there way to generate request_token through script?

I am using PHP.
  • sujith
    It is mandatory by the exchange that a user has to login manually atleast once a day.
    We don't recommend automating login.
This discussion has been closed.