# In case of thread update
{
  "event_id":"1",
  "event_code":"thread_updated",
  "event_date":"2023-07-03T11:59:46Z",
  "data": {
    "thread_id":"0e9b306a-b460-42b7-9a94-7dd700e6d84d",
    "client_id":1,
    "revision_number":1,
    "status_id": 1
  }
}

Event 1: Thread updated

Will be triggered when a chat thread is either created or modified. Revision number starts from 1 (1 means created, >1 means modified) Possible status values: 1 (Open) / 2 (Closed) / 3 (Reminder) / 4 (Waiting)

Content-Type: application/json

ParameterTypeDescription
thread_idstringThread ID
client_idnumberClient ID
revision_numbernumberRevision number
status_idnumberStatus ID

Event 2: Thread message updated

Will be triggered when a chat thread message is either created or modified. Possible delivery values: 1 (Draft) / 2 (Ready to be sent) / 3 (Sent) / 4 (Received)

Content-Type: application/json

ParameterTypeDescription
thread_idstringThread ID
client_idnumberClient ID
message_idstringMessage ID
deliverynumberDelivery