ESET Online Help

Search
Select the topic

Renew

Call description

This call renews your access token. Renewed access token is different from the old one, however the underlying API session stays the same. You need a valid refresh token to renew your access token.

This API call requires authorization; the user has to be logged in.

Request URL: https://mspapi.eset.com/api/Token/Renew

This request is a POST call type.

Call structure

{
  "refreshToken": "string"
}

Call parameters

Parameter

Description

refreshToken

Your refreshToken that you got together with the accessToken from the Get call.

Response structure

The response contains data in the JSON format.

If the call is successful, the response contains the new access token. Use this new token in subsequent API calls.

hmtoggle_plus0Example response

Troubleshooting

ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.

List of error codes