Api related solution

I have recently asked you about the token expiry problem that is there any way that the expiry period of token can be change because it expires every 24 hrs and this is creating problem for fetching option chain data daily is there any way to make it permanent or any solution?
@shanmu @Pradeep_Jaiswar @Upstox
Also please provide option selling margin and profit/ loss calculation api url I had asked you about this before

Upstox API does not support or recommend automating access token generation in light of SEBI and regulatory guidelines. Users are required to log in manually once daily by adhering to the specified login procedures.

Here is the margin API → Margin Details | Upstox Developer API

Thank you.