How to generate oauth access token with the help of api only , No redirections and two steps ?

How to generate oauth access token with the help of api only , No redirections and two steps ?

I need to embed zoho tickets api in an application so i am using tickets api in my rest api but the main problem is token generation. Other companies provide one token which we can use it everytime when we make request but here in zoho we have to go through two step gui process to generate auth token which is not feasible if i have to show tickets in my admin panel because oauth token have expiry time and refresh token can only be used 10 times , I guess ? 

So i basically want to know that if i can somehow generate token with the help of api in one step then i can use it to show details of tickets in my admin panel?

or there is any other way ?