Note: It is best to call this method every 3–5 minutes to make sure the Login Service stays refreshed.


Method URL
POST https://{domain}/api/account/{accountId}/refresh


Request cookies

Cookie Description
Session_id Login session ID (taken from the Login response cookie).
Header Description
Content-Type Application/JSON
Accept Application/JSON


Parameter Description
csrf CSRF — Taken from the Login response body




Response Codes

Code Response
200 OK with empty body (see note)
401 Unauthorized — Bad Authentication (invalid site or agent)
500 Internal server error

Note: In case csrf is invalid, response code is 401 — Unauthorized with the following body:

    "error": {
    "time": "Sep 22, 2016 4:10:15 PM",
    "message": "CSRF token invalid! The CSRF token on request does not match the CSRF token on the session",
    "internalCode": 10,
    "responseStatus": "UNAUTHORIZED"


Session_id containing the login session ID.