API access token generation

how to create access token more than 24 Hours, I want to create access token atleast for 30 days.

Hey @Shrinath ,

As per new regulation the API access tokens will now be valid for 24 hours only.

Any link?

Read this circular: https://nsearchives.nseindia.com/content/circulars/INVG67858.pdf

Are you referring to this?

All API sessions shall be compulsorily logged out every day before the start of the next trading day

This doesnt require restricting token validity to 24 hours, does it?

Yes, how does Dhann handle the sessions for API tokens if they don’t expire them on their end?

Ah yes, got a lil confused, Dhan has been doing it differently until now. With Z and others I already generate the tokens daily.

Yes, Z also expires according to the updated regulations.

Correct. They have been doing it like that for a long time, fgot about it as I automated it a long time back :slight_smile:
So Dhan was the odd one out (until now)