Call description
•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.
{
"accessToken": "eyJhbGciOaaaazI1NiIsImtpZCI6IjdCOTYzQjc3NDZ1111FNDM0NTY4MjU4RUM1ND8888g4NEY3NEQwMkEiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJlNVk3ZDBiRFB4561hQ1dPeFVpQWlFOTAwQ28i.a.syJuYmYiOjE1NDUzMDczMjIsImV4cCI6MTU0NTMwNzM4MiwiaXNzIjoiaHR0cHM6Ly9kZXYtaWRlbnRpdHkuZXNldC5jb20iLCJhdWQiOlsiaHR0cHM6Ly9kZXYtaWRlbnRpdHkuZXNldC5jb20vcmVzb3VyY2VzIiwiZW1hMl9hcGkiXSwiY2xpZW50X2lkIjoiRXNldC5FTUEuQVBJIiwic3ViIjoiMGQzMGE3YjUtNmUwMS00MGM4LTllYzQtZjA1NjMyOTAxN2M3IiwiYXV0aF90aW1lIjoxNTQ1MzA3MzAyLCJpZHAiOiJsb2NhbCIsInNjb3BlIjpbImVtYTJfYXBpIiwib2ZmbGluZV9hY2Nlc3MiXSwiYW1yIjpbImN1c3RvbSJdfQ.id6e4SIb5dmG6H1CT_Ic2L5vxNz9mvgxawwsw7kcTveDLK4TsY7p9JCXFc1rhkZY_XsSsNSa_d4FyMmooPb9XyC2AiDXQJAKOPoYynMjOUzc_UMqjqHHKPnjOOh94EwKNrltcoI6ssPGg3u2ndp-ZGkGOqF7DopMJwUK7lh1PpL0knQV9wstB-Gi8KqrSEIAwUQkUEcFQwA166tAOKPMMf2GwkrVsVFQQmFksBW1s_19qqny1ul1zeFBs5fYhbMPS7gGXWVKGPq5nYJpcCD7Cnug2goMioBqwv1AzC8uD2ojzu_w5Xlf84VFd2msw2All28UXT3n4nRsTmDt0qR-nA",
"refreshToken": "iasdfVh+zJdO/m0Qx7yTxtu8Pvl80Se1aybBnGT2o9fIaasdfe19f7kNXTnabGreAG3rnHZyasdfLQuzOudWZtRm93l7dy3QbvOu0IVcH6rCk7WS96XRDUasdfpbLSpcTWixlhiY7FjV8h1CJG69caYqw.aSx+LlHijsCcbD7efj7vzXmmCREgJ63Cr2boPdyxh+YS/nGxIDWAvwsElBrPNrXnFX1vnPYH2WzgfIVdJYyUKtiqSikWLqU/o9znxs6GICF4IqMVRWOfP8vnsjGfwPDDhX6pOetTfTriYk6WOQcHRNQxPkmEtqabjs5uGsIni/AQmdAYodeLRMAC+wyw=="
}
|
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