Token generate or find

Cat
I have API Secret and Key but how can i genearte the token as iam a new user, Kindly assist me
  • salim_chisty
    To generate the access token, you need to copy the request token from the redirect URL and use it to generate the session. Please note that the access token is valid for one day, and you can use it for all API requests throughout that day. A request token, however, is valid for only a few minutes and can be used just once. Ensure that you do not request a new access token for every run. Once you have generated the access token, store it in a file or app preferences for reuse.

    We recommend following the login flow as outlined in the Kite Connect API documentation. Additionally, you can refer to this webinar for a detailed walkthrough.

    Additionally, you may explore our QuantInsti course on Algorithmic Trading with Zerodha Kite Connect API and Python.
  • Cat
    Thank you so much for your assist, have a great day buddy
  • Cat
    iam able to work without any issue
  • DM2290
    API Key appearing in URL varies from API Key in algo
  • salim_chisty
    @DM2290, The api_key in the login URL must correspond to the same Kite Connect app whose credentials are being used by the algo. If the API key in the URL differs from the one configured in the algo, the resulting authentication/session can belong to a different app.
  • DM2290
    How to rectify?
  • DM2290
    Awaiting guidance API Key appearing in URL varies from API Key in algo How to rectify?
  • salim_chisty
    Please raise a support ticket with the complete details so that we can investigate the issue further and assist you accordingly.
Sign In or Register to comment.