Working with Swagger UI
To start using ESET Connect API, you need to get an access token and use it for authorization. To get the access token, follow the steps below:
Token validity is limited Each access token is only valid for one hour. After that, you need to refresh it. |
1.Navigate to the ESET Connect API Swagger UI page according to your region.
2.Click /oauth/token call.
3.Click Try it out to start editing the call.
4.At grant_type, select password.
5.Fill in the username and password fields.
6.Click Execute to send the call.
7.After the call is executed, you will receive a response that contains an access token. You will need to use this access token to communicate with the server. Copy the access token to the clipboard.
8.Select the API call you want to use and open the corresponding ESET Connect API Swagger UI page. Click Authorize at the top of the page.
9.Type "Bearer" and paste the access token string to the Value field and click Authorize.
10.The Swagger UI displays a confirmation of authorization. Click Close to close the window.
After the authorization is saved, you can start executing other API calls. The authorization token is included in each call automatically by Swagger UI. To test your first API call, see Execute your first API call.