Message
A message exchanged between a user in Endear & an external contact
Fields
Boolean!Whether the Message is an automatic reply
String!An HTML version of the Message
String!A markdown version of the Message
String!An SMS-text version of the Message
String!A preview of the Message
CampaignIf the message was created by a Campaign, the Campaign
CampaignDraftThe Campaign Draft that originated this message, if message is part of a Campaign
ContactMethod!The ContactMethod used to send or receive the Message
Conversation!The Conversation the Message belongs to
DateTime!The date the Message was created
DateTimeThe date the Message was delivered
MessageDirection!Whether the Message was sent (outbound) or received (inbound)
DraftThe Draft that was used to create the Message
MessageExpirationReasonThe reason the Message expired
DateTimeThe date the Message expired
ID!The email address or phone number of the external contact
MessageFailReasonThe reason the Message failed to send
DateTimeThe date the Message failed to send
DateTimeThe date when the Message was first clicked
MessageThe first inbound reply to this Message
DateTimeThe date when the Message was first opened or read
MessageThe first outbound reply to this Message
MessageThe first reply to this Message
ID!The unique identifier of the Message
MessageThe Message this Message is in reply to
Boolean!Whether the Message is an opt-out message
Boolean!Whether the Message is a reply
DateTimeThe date when the Message was last clicked
MessageThe last inbound reply to this Message
DateTimeThe date when the Message was last opened or read
DateTimeThe date when the Message was last opened or read
MessageThe last outbound reply to this Message
MessageThe last reply to this Message
MessageThe latest reply to the Message
Deprecated — Use last_reply instead
MessagingApplicationThe MessagingApplication that created the Message
DateTimeThe date the Message was permanently redacted
StringThe reason the Message failed to send from the provider
DateTimeThe date the Message was redacted
MessagingApplicationThe MessagingApplication that sent the Message
UserThe User that sent the Message was sent as
DateTimeThe date the Message was sent
TeamThe Team that sent the Message was sent from
DateTime!The date the Message was sent or created (if not sent)
StringThe original body of an inbound Message (null on outbound messages)
MessageStatus!The delivery status of the Message
NonEmptyStringThe subject line of the Message (if any)
TeamThe Team that sent the Message was sent from
Deprecated — Use Message.sent_from_team instead
TemplateThe Template that was used to create the Message
ThreadThe Thread this Message is in
DateTimeThe date when the ability to reply to the message expires
ContactMethodType!The type of the Message
DateTime!The date the Message was last updated
StringThe UTM code of the Message
MessageSentVia!The method by which the Message was sent
URL!The URL to the Message inside the web application
WhatsAppMessageTypeThe type of WhatsApp message