Webhook Payload
Below document will describe the details of a webhook message payload
Payload Fields
{
"messageID": "130",
"localID": "ee9fa71d70d6",
"type": 1001,
"typeName": "text",
"body": "This is the body of the message",
"data": "",
"filterID": "",
"isHidden": false,
"quote": {
"title": "",
"content": "",
"imageURL": "",
"fileID": "",
"fileType": ""
},
"replyTo": {
"userID": "0",
"xcUserID": "",
"fullname": "",
"messageID": "0",
"localID": "",
"messageType": 0
},
"forwardFrom": {
"userID": "0",
"xcUserID": "",
"fullname": "",
"messageID": "0",
"localID": ""
},
"room": {
"roomID": "2-7",
"xcRoomID": "",
"name": "Macy Sanderson, John Doe",
"type": 1,
"imageURL": {
"thumbnail": "",
"fullsize": ""
},
"isLocked": false,
"lockedTime": 0,
"deleted": 0,
"isDeleted": false
},
"user": {
"userID": 7,
"xcUserID": "1",
"fullname": "John Doe",
"imageURL": {
"thumbnail": "https://www.example.com/photos/thumb/thumbnail.jpg",
"fullsize": "https://www.example.com/photos/full/fullsize.jpg"
}
},
"recipientID": "2",
"action": "",
"target": {
"targetType": "",
"targetID": "0",
"targetXCID": "",
"targetName": ""
},
"isDelivered": false,
"isRead": false,
"isDeleted": false,
"created": 1651067084218,
"updated": 1651067084218,
"deleted": 0
}
Last updated