{
"ownerEntity": {
"_id": "pat::ebbd2a07-26e3-4023-be22-affaecf2b315",
"email": "[email protected]",
"firstName": "John",
"id": "pat::ebbd2a07-26e3-4023-be22-affaecf2b315"
},
"ownerModel": "Patient",
"targetEntity": "aff::96d23b23-a838-42cd-9f75-7759de5abcbb",
"targetEntityModel": "Affiliate",
"eventTitle": "Message Received.",
"eventDescription": "Webhook event to inform patient that they received a message.",
"eventType": "message-from-admin-practitioner-received",
"eventData": {
"patientConversationId": "pcv::bd6e11fd-7d8e-4030-93e0-a35959104ec3",
"message": "HELLO!",
"type": "MESG", // Possible values include ['MESG', 'ADMN'] Typically value is MESG, unless there is an automated message, which is type 'ADMN'
"sender": "admin_1",
"senderRole": "admin"
}
}