I am new to the Box Api calls. i am using the Box api calls in application inorder to retreive the files in Box .
For that we need to authenticate the Box inorder to get connected . For testing purpose i have used the developer token but that is expired in l hour. In our application we need to retrieve the files daily from box.
Can you please advise me how do i get the authentication process programatically in java.
I also tried with the api.authenticate(authCode) method but that works only once after that it throws an 400 error.