Authentication - Token API

  • what is token expiry?
  • do we need to use the same token in all other APIs?
  • if the token expires then what is the mechanism to generate the token?

You must utilize the same access_token for different APIs. To regenerate the access_token, follow the authentication flow outlined at Authentication | Upstox Developer API.

The access_token through Get Token | Upstox Developer API is valid for a specific duration, expiring at 3:30 AM the next day, irrespective of the generation time. For example, a token created at 8 PM on Tuesday will lapse at 3:30 AM on Wednesday. Similarly, a token generated at 2:30 AM on Wednesday will also expire at 3:30 AM on that same Wednesday.

1 Like