ESET Online Help

Search
Select the category
Select the topic

Refresh the token

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

1.Navigate to the ESET Connect API Swagger UI page.

2.Click /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, fill in the refesh_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.You receive a new access token and a new refresh token in the response. Copy and save both strings for later use.

7.Click Authorize > Logout to stop using the current access token.

8.Type the word Bearer and your new access token to the Value field and click Authorize.

Access token used during Authorization in Swagger

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

Authorization window closed by clicking the Close button in Swagger