I want to know some details about upstox api . Like how to generate refresh token ,extended token,end points and some help in writing python script for trade automation

Need help in how to generate extended token ,end points ,refresh token for trade automation with upstox api

Generating an auth code and obtaining access tokens using that auth code is a three-step process. The first two steps must be done in a web browser:

  1. Perform Authentication: Follow the detailed instructions at Perform Authentication.
  2. Receive Auth Code: To complete this step, visit Receive Auth Code.
  3. Generate Access Token: Finally, refer to Generate Access Token to generate the access token.

You’ll receive the auth code on the Redirect URL during the second step, which you’ll need to use in the process of generating an access token in the third step.

I recommend reviewing the documentation to better understand the process: Authentication Documentation.

To place an order, refer to the documentation here: Place Order.

For a quick start, you can refer to our SDKs in Python, Java, PHP, and Node.js: Upstox SDKs.

For information on extended tokens, please refer to: Extended Token.

I hope this information is helpful.