type | string | Always "OutboundMessage" |
locationId | string | Sub-account ID from which the message was sent |
messageId | string | Unique identifier for the message |
contactId | string | ID of the contact who received the message |
conversationId | string | ID of the conversation this message belongs to |
userId | string | ID of the user who sent the message |
messageType | string | Channel the message was sent on. One of SMS, Email, Call, Voicemail, FB, IG, GMB, Live Chat |
direction | string | Always "outbound" for this event |
body | string | Text content of the message |
contentType | string | MIME type of the message body (e.g. text/plain) |
attachments | array | List of attachment URLs; empty array if none |
source | string | Origin of the outbound message (e.g. workflow, manual) |
status | string | Delivery status of the message (e.g. delivered, completed, voicemail) |
dateAdded | string | ISO 8601 timestamp when the message was sent |
callDuration | number | Duration of the call in seconds (Call/Voicemail only) |
callStatus | string | Outcome of the call, e.g. completed or voicemail (Call/Voicemail only) |
emailMessageId | string | Provider message ID for email threading (Email only) |
threadId | string | Thread identifier for grouping email replies (Email only) |
provider | string | Email sending provider used, e.g. leadconnector (Email only) |
subject | string | Email subject line (Email only) |
to | array | List of recipient email addresses (Email only) |
cc | array | List of CC’d email addresses (Email only) |
bcc | array | List of BCC’d email addresses (Email only) |