Skip to main content

Keep alive

POST{{server}}/api/v1/counter/session/keepAlive

If there is no REST communication from the counter to server for a long time, the server will stop the clerk session. To avoid it, you should call the keepAlive endpoint once per minute.

The endpoint has no response, if it was successful.

Request​

Authorization​

HeaderValue
AuthorizationBearer {{counterToken}}

Headers​

KeyValue
Acceptapplication/json
X-WSID{{counterWsID}}

Code snippets​

curl -X POST '{{server}}/api/v1/counter/session/keepAlive' \
-H 'Accept: application/json' \
-H 'X-WSID: {{counterWsID}}' \
-H 'Authorization: Bearer {{counterToken}}'

Example​

Example request
POST{{server}}/api/v1/counter/session/keepAlive
Headers (2)
KeyValue
Acceptapplication/json
X-WSID{{counterWsID}}
Example response 204 No Content
No response body