Skip to content

Message

One message on a channel: an email, a chat message, an SMS, a call record, with sender, recipients, body and the records it is about. A Ticket's conversation is its Messages.

PackCore
Versionv1 (latest)
URNurn:postware:core:message
Identityidentifiers

Fields

FieldTypeReqNotes
channelenum(email|chat|sms|phone|web|social|api|other)yes
directionenum(inbound|outbound|internal)yes
fromParticipantyes
toParticipant[]no
ccParticipant[]no
bccParticipant[]no
reply_toParticipant[]no
subjectstringno
bodytextyesplain text or Markdown; may be empty when the message is only attachments
body_htmltextno
sent_atdatetimeyes
thread_keystringnoopaque grouping key: a mail thread id, a chat channel and thread, a ticket id
in_reply_toRef<Message>no
attachmentsRef<File>[]no
deliveryenum(draft|queued|sent|delivered|failed)nooutbound only
aboutRef<any>[]nothe Ticket, the Deal

Extensions

ExtensionTypeNotes
ext.messaging.received_atdatetimeWhen the receiving system accepted the message (the Received trace, Gmail internalDate, Graph receivedDateTime); sent_at orders the thread, this records delivery.
ext.messaging.referencesstringThe RFC 5322 References header as written: the Message-IDs of the thread's ancestors, space-separated, for rebuilding threads of imported mail.