# In case of decision change
{
  "event_id":"1",
  "event_code":"session_decision_updated",
  "event_date":"2023-07-03T11:59:46Z",
  "data": {
    "session_id": "0e9b306a-b460-42b7-9a94-7dd700e6d84c",
    "status_id": 2,
    "status_label": "NOPASS",
    "status_type": "NEGATIVE" | "POSITIVE" | "NEUTRAL"
  }
}

Event 1: Session state changed

Session state change will be triggered when session is opened, consented, scenario is started or scenario is finished.

Content-Type: application/json

ParameterTypeDescription
session_idstringSession ID
session_statestringSession state
language_codestringLanguage code
scenario_codestringScenario code

Event 2: Session decision was updated

This event will be triggered when decision was updated, a decision can be taken by Algoreg automatically or by a human agent any time after the session finished.

Content-Type: application/json

ParameterTypeDescription
session_idstringSession ID
status_idintegerStatus ID
status_labelstringStatus label
status_typestringStatus type