Select the tab
ESET Connect – Table of Contents

Refresh the token

Each access token is only valid for one hour. Extend your session by refreshing your access token using refresh_token.

1.Navigate to the ESET Connect Swagger UI Authentication page according to your region.

2.Click the /oauth/token call.

3.Click Try it out to start editing the call.

Authentication API call editing in Swagger started by clicking the Try it out button

4.At grant_type, select refresh_token.

Grant type set to refresh token in the Authentication API call in Swagger

5.At refresh_token, paste the refresh_token string you obtained with your access token and click Execute.

API call execution in Swagger initiated by clicking the Execute button after the Refresh token field is filled

6.The Swagger UI returns a response with a new access token and refresh token. Copy and save both strings for later use.

7.On the ESET Connect Swagger UI page you were using, click Authorize > Logout to stop using the current access token.

8.Type Bearer, paste your new access token into the Value field and click Authorize.

Access token used during Authorization in Swagger

9.The Swagger UI displays an authorization confirmation. Click Close to close the window.

Authorization window closed by clicking the Close button in Swagger