Upstox Login API
The Login API from Upstox — 4 operation(s) for login.
Operations 4
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
POST
/v3/login/auth/token/request/{client_id}
Start an access token request for an indie app · Init token API
#
Ask an LLM
“How do I kick off token generation as an individual developer without a redirect flow?”
“Can I turn off OTP verification when requesting a token for my own app?”
Tell an agent
Start a token request for app {client_id}.
Initiate an indie-user token for {client_id} with secret {client_secret}.
POST
/v2/login/authorization/token
Exchange an authorization code for an access token · Get token API
#
Ask an LLM
“How do I exchange the auth code from the redirect for an access token?”
“Can I regenerate the extended access token when exchanging a code?”
Tell an agent
Exchange code {code} for an access token using app {client_id}, secret {client_secret}, redirect {redirect_uri}, grant {grant_type}.
Get a token from code {code} for {client_id} and set refresh_extended_token to {refresh_extended_token}.
Ask an LLM
“How do I invalidate my current access token?”
“Can I log out of the trading session from my app?”
Tell an agent destructive · confirm first
Log me out of Upstox.
End my current session and revoke this access token.
Documentation
Documentation
https://upstox.com/developer/api-documentation/open-api
APIReference
https://upstox.com/developer/api-documentation/api-overview
GettingStarted
https://upstox.com/developer/api-documentation/installing-sdk
Authentication
https://upstox.com/developer/api-documentation/authentication