Skip to content

Login - Heartbeat

GET: /login/api/v1/heartbeat POST: /login/api/v1/heartbeat

The client sends a request to this API every minute to check if the session is still valid.

Request

Used only in POST requests.

{
"gametime": "integer",
"activeplaytime": "integer"
}

Response

The response has no body.

The server should respond with status code 200 OK only if the session is valid, otherwise the status code should be 403 Forbidden.