Api event io get session keep alive

From Tygron Support wiki
Revision as of 15:17, 20 November 2026 by Server@tygron.com (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Endpoint: api/event/io/get_session_keep_alive/

Description: Returns whether the Session identified by the Session ID is set to Keep Alive. Value can also be found in Setting KEEP_ALIVE.

Index Importance Type Description Values
0 REQUIRED (Integer number) Session ID

Response Codes

Response Code: Description
200 KeepAlive (KeepAlive)
300-600 Codes Overview

Example POST

Curl example POST

curl 'https://engine.tygron.com/api/event/io/get_session_keep_alive/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>' -d '1'

JavaScript example POST

var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>" },
 body: '1'
};
fetch("https://engine.tygron.com/api/event/io/get_session_keep_alive/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));

See also