{
"id": "",
"timestamp": 0,
"type": "MESSAGESENT",
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"userName": ""
}
},
"payload": {
"messageSent": {
"message": {
"messageId": "",
"timestamp": 0,
"message": "<div data-format='PresentationML' data-version='2.0'>Message content. With <span class='entity' data-entity-id='mention1'>@user name</span>, <span class='cashTag' data-entity-id='cashtag2'>$ticker</span>, and <span class='hashTag' data-entity-id='hashtag3'>#keyword</span>.</div>",
"data": "{
\"mention1\": {
\"type\": \"com.symphony.user.mention\",
\"version\": \"1.0\",
\"id\": [{
\"type\": \"com.symphony.user.userId\",
\"value\": 123456789
}]
},
\"cashtag2\": {
\"type\": \"org.symphonyoss.fin.security\",
\"version\": \"1.0\",
\"id\": [{
\"type\": \"org.symphonyoss.fin.security.id.ticker\",
\"value\": \"ibm\"
}]
},
\"hashtag3\": {
\"type\": \"org.symphonyoss.taxonomy\",
\"version\": \"1.0\",
\"id\": [{
\"type\": \"org.symphonyoss.taxonomy.hashtag\",
\"value\": \"unexpected\"
}]
}
}",
"attachments": [],
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
},
"externalRecipients": false,
"stream": {
"streamId": "",
"streamType": "IM"
},
"userAgent": "Agent-2.2.5-Linux-4.9.77-31.58.amzn1.x86_64",
"originalFormat": "com.symphony.messageml.v2"
}
}
}
}{
"id": "V2Jdlz",
"messageId": "qsOkkR1Z170QKVu54QU8WX___qRaa2y5bw",
"timestamp": 1493131629382,
"type": "MESSAGESUPPRESSED",
"initiator": {
"user": {
"userId": 8933531976380
}
},
"payload": {
"messageSuppressed": {
"messageId": "QasBvaApRVqAIGPcqUTOAn___qRaa6hwdA",
"stream": {
"streamId": "ksuDd0xGnAGW1B4plItFyn___qRfGLBsdA"
}
}
}
}[
{
"id": "HHZFPX",
"messageId": "StQDPAYMXNz1ue4fcr5W7H___pQENqrGbQ",
"timestamp": 1563297404217,
"type": "SYMPHONYELEMENTSACTION",
"initiator": {
"user": {
"userId": 7078106482890,
"firstName": "User",
"lastName": "Bot",
"displayName": "User",
"email": "[email protected]",
"username": "user_bot"
}
},
"payload": {
"symphonyElementsAction": {
"stream": {
"streamId": "YuK1c2y2yuie6+UfQnjSPX///pQEn69idA=="
},
"formMessageId": "xtZqqBNGwLDkLuvuQTyjH3///pQENvjudA==5454",
"formId": "form_id",
"formValues": {
"action": "submit_button",
"name_01": "John",
"email_01": "[email protected]",
"country": "opt1",
"example_radio": "option_01",
"checkbox_1": "value01",
"checkbox_2": "value02",
"comment": "my comment"
}
}
}
}
]{
"id": "",
"timestamp": 0,
"type": "SHAREDPOST",
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"sharedPost": {
"message": {
"messageId": "",
"timestamp": 0,
"message": "<div data-format='PresentationML' data-version='2.0'>Sent when sharing the original post</div>",
"data" : "{ }",
"attachments": [],
// This is the user who is sharing the wall post.
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
},
"externalRecipients": false,
"stream": {
// This is the ID of the sharing user's wall.
"streamId": "",
// For a shared wall post, the destination stream type will always be POST.
"streamType": "POST"
}
},
// This is the original wall post that is being shared.
"sharedMessage": {
"messageId": "",
"timestamp": 0,
"message": "<div data-format='PresentationML' data-version='2.0'>Original Post</div>",,
"data" : "{}",
"attachments": [],
// This is the author of the original wall post.
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
},
"externalRecipients": false,
"stream": {
// This is the ID of the original poster's wall.
"streamId": "",
// For a shared wall post, the originating stream type will always be POST.
"streamType": "POST"
}
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "INSTANTMESSAGECREATED",
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"instantMessageCreated": {
"stream": {
"streamId": "",
// Stream type can be either IM (1-1 chat) or MIM (Deprecated).
"streamType": "IM",
"members": [
{ "userId": 0 },
{ "userId": 1 }
],
"external": false
}
}
}
}[
{
"id": "uW6hmX",
"messageId": "nn-TBGB...",
"timestamp": 1535146379937,
"type": "ROOMCREATED",
"initiator": {
"user": {
"userId": 14568...,
"displayName": "Local Bot",
"email": "[email protected]",
"username": "bot.user"
}
},
"payload": {
"roomCreated": {
"stream": {
"streamId": "tVtJmEG...",
"streamType": "ROOM",
"roomName": "pub12",
"external": false,
"crossPod": false
},
"roomProperties": {
"name": "pub12",
"description": "#twelfth",
"creatorUser": {
"userId": 14568...,
"displayName": "Local Bot",
"email": "[email protected]",
"username": "bot.user"
},
"createdDate": 1535146379931,
"external": false,
"crossPod": false,
"copyProtected": false,
"readOnly": false,
"discoverable": false,
"membersCanInvite": false,
"canViewHistory": false,
"public": true
}
}
}
}
]{
"id": "",
"timestamp": 0,
"type": "ROOMUPDATED",
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"roomUpdated": {
"stream": {
"streamId": "",
"streamType": "ROOM",
"roomName": "",
"external": false
},
// These fields represent the current state of these attributes. At least one of them was updated by this operation.
"newRoomProperties": {
"name": "",
"description": "",
"discoverable": false,
"membersCanInvite": false
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "ROOMDEACTIVATED",
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"roomDeactivated": {
"stream": {
"streamId": "",
"streamType": "ROOM"
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "ROOMREACTIVATED",
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"roomReactivated": {
"stream": {
"streamId": "",
"streamType": "ROOM",
"roomName": "",
"external": false
}
}
}
}[
{
"id": "LSWslw",
"messageId": "lwu0jF0reb7Sbw",
"timestamp": 1574439227693,
"type": "USERREQUESTEDTOJOINROOM",
// This is the user who initiated the action, in this case, the user who has requested to join the room.
"initiator": {
"user": {
"userId": 68719476737,
"firstName": "John",
"lastName": "Doe",
"displayName": "John Doe",
"email": "[email protected]",
"username": "[email protected]"
}
},
"payload": {
"userRequestedToJoinRoom": {
"stream": {
"streamId": "cVHHJfFJbjyQ4bmHsHJBcdA",
"members": []
},
//These are the users who own the room.
"affectedUsers": [
{
"userId": 68719476759,
"displayName": "owner1",
"email": "[email protected]",
"username": "owner1"
},
{
"userId": 68719476760,
"firstName": "owner2",
"lastName": "owner2",
"displayName": "owner2 owner2",
"email": "[email protected]",
"username": "owner2"
}
]
}
}
}
]{
"id": "",
"timestamp": 0,
"type": "USERJOINEDROOM",
// This is the user who initiated the action (i.e. added the user to the room). If the initiator and and affected user are the same, the user joined the room of his own accord.
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"userJoinedRoom": {
"stream": {
"streamId": "",
"streamType": "ROOM",
"roomName": "",
"external": false
},
// This is the user who was affected by the action (i.e. joined the room).
"affectedUser": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "USERLEFTROOM",
// This is the user who initiated the action (i.e. removed the user from the room). If the initiator and and affected user are the same, the user left the room of his own accord.
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"userLeftRoom": {
"stream": {
"streamId": "",
"streamType": "ROOM",
"roomName": "",
"external": false
},
// This is the user who was affected by the action (i.e. left the room).
"affectedUser": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "ROOMMEMBERPROMOTEDTOOWNER",
// This is the user who performed the promotion.
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"roomMemberPromotedToOwner": {
"stream": {
"streamId": "",
"streamType": "ROOM",
"roomName": "",
"external": false
},
// This is the user who was promoted.
"affectedUser": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "ROOMMEMBERDEMOTEDFROMOWNER",
// This is the user who performed the demotion.
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"roomMemberDemotedFromOwner": {
"stream": {
"streamId": "",
"streamType": "ROOM",
"roomName": "",
"external": false
},
// This is the user who was demoted.
"affectedUser": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "CONNECTIONREQUESTED",
// This is the user who sent the request.
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"connectionRequested": {
// This is the user to whom the request was sent.
"toUser": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": ""
}
}
}
}{
"id": "",
"timestamp": 0,
"type": "CONNECTIONACCEPTED",
// This is the user who accepted the request.
"initiator": {
"user": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": "",
"username": ""
}
},
"payload": {
"connectionAccepted": {
// This is the user who sent the request.
"fromUser": {
"userId": 0,
"firstName": "",
"lastName": "",
"displayName": "",
"email": ""
}
}
}
}{
"id": "chiKiF",
"messageId": "XB1kb8IWoQJiPm7EIp-Qan___m_USNrLbw",
"timestamp": 1718720341300,
"type": "GENERICSYSTEMEVENT",
"initiator": {
"user": {
"userId": 12345678,
"displayName": "connect-bot",
"email": "[email protected]",
"username": "connect-bot"
}
},
"payload": {
"genericSystemEvent": {
"stream": {
"streamId": "_tiUL8zamhwqo8J0tRGRmH___nF1ABgsdA",
"external": true,
"crossPod": true
},
"eventTimestamp": 1718717111858,
"sourceSystem": "federation",
"eventSubtype": "test.event",
"parameters": {
... (depends on subtype)
}
}
}
}