refreshing access token automation

refreshing access token automation

hello I am developing a backend using nodejs, I want to automate the process of refreshing access token, can anyone guide me please I tried a way using callback but for every api-call to crm I have to a do a callback to get a new refresh token(for example if my code have 10 different API calls to zoho-crm then I have to do 10 callbacks which gives 10 different access token which is not good)
Can someone please help me, without this I cant move any  further

generating refresh-token is done using post-man



Thnaks