token's validity period
-
@admin for how long feed token, jwt token and refresh token are valid??
also is there any limit on how may instruments we can subscribe through WebSocket at once??
-
@admin we are login using smartapi (userID, Password, TOTP). For a day it is working fine, but next day we are generating refresh token using previously login accessToken then it is not working API connection going failed. Please help when we can call refresh token to avoid stop API call. I don't want login everyday it should happen using api like KITE API.
- topic:timeago_earlier,2 years
-
@admin Thanks. Appreciate it.
-
@rajanprabu said in token's validity period:
I want to get it confirmed from the Angel team
Yes. it's flushed next morning at 5 am.
-
Thanks. Im aware of what other service providers are offering. I want to get it confirmed from the Angel team.
Angel token was expiring in 2 1/2 hours during initial days of the API launch. After there request it was extended until evening. I do hope that now it expires everyday morning. This would be more convenient.
-
Hi @rajanprabu ,
Yes, I guess so.
Token gets flushed every day in the morning (most brokers have implemented the same). Check out the similar post for zerodha/kite forum.https://kite.trade/forum/discussion/3866/access-token-invalidated-within-24-hours
-
@admin said in token's validity period:
we flush our tokens on subsequent day at 5 am.
so if I make tokens this morning 9 AM its valid until tomorrow morning 5 AM ?
-
Hi @pavank we flush our tokens on subsequent day at 5 am.
-
Hi @pavank said in token's validity period:
there any limit on how may instruments we can subscribe through WebSocket at once??
No there is no limit to subscribe tokens. -
@pavank said in token's validity period:
for how long feed token, jwt token and refresh token are valid??
I exactly don't know the answer.. but I generate it at 9 AM and I have used it till the session ends..
@pavank said in token's validity period:
also is there any limit on how may instruments we can subscribe through WebSocket at once??
You can also subscribe 2000 scrips..