Message
appointmentEvent
NullableRescheduled, Scheduled, Reminder, Confirm, Canceled, Acknowledgement
appointmentId
Nullablestring
appointment associated with this message
authorType
Customer, User, System
the one who sent/authored this message
automatedCampaignId
Nullablestring
the id of the automated campaign that generated this message
avoidSMSQuietHours
boolean
companyId
string
conversationId
Nullablestring
createdDate
date-time
customerId
Nullablestring
the id of the customer that authored or was sent the message
deleted
boolean
if the record has been deleted
deletedDate
Nullabledate-time
the date that the record was deleted or null if not deleted
deletedReason
Nullablestring
the reason that the record was deleted
deletedUserId
Nullablestring
the user that deleted the record or null if not deleted
detached
Nullableboolean
true if message is public but has no reference to a customer (only for migration purposes)
emailError
Nullablestring
error sending email, if any
emailId
Nullablestring
the id of the customer email that authored or was sent the message
emailStatus
NullablePending, Sent, Read, Error, Delivered, Unknown
status of sending email, is null if author is a Customer
emailSubject
Nullablestring
overrides default email subject
id
Primary Keystring
imported
boolean
internal
Nullableboolean
true if internal note, is null if author is a Customer
isOrderShare
boolean
true if this message created via Order Share modal
locationId
string
locationReviewRequestId
Nullablestring
the id of the review request
metadata
Nullableobject
metadata reserved for customers to control
oneTimeCampaignId
Nullablestring
the id of the one time campaign that generated this message
orderId
Nullablestring
an order associated with this message
orderShareType
NullableInspection, Order
the type of order content being shared
origin
ChatBot, Scheduler, Campaign, Web, Mobile, CustomerOrderPage, SMS, Email
what medium the message originated from
phoneNumberId
Nullablestring
the id of the customer phone number that authored or was sent the message
requestAppointmentConfirmation
Nullableboolean
if true, the email/sms will contain actions to confirm/decline an appointment
sendEmail
Nullableboolean
if an email should be sent, is null if author is a Customer
sendSms
Nullableboolean
if an sms should be sent, is null if author is a Customer
shopRead
Nullableboolean
true if someone at the shop has read a Customer message, is null if author is a User
smsError
Nullablestring
error sending sms, if any
smsStatus
NullablePending, Sent, Read, Error, Delivered, Unknown
status of sending sms , is null if author is a Customer
suggestedReply
Nullablestring
if we can suggest a reply, this will have a value to suggest to the user in the app
suggestedReplyState
None, Partial, Full
the state of the suggestion
text
string
appears in message center/thread (content of message if SMS, plaintext/preview if email)
type
Transactional, Marketing
Transactional or Marketing. Marketing messages are sent from a different email/phone and have different opt-in requirements
updatedDate
Nullabledate-time
userId
Nullablestring
the user who authored the message
vehicleId
Nullablestring
a vehicle associated with this message
vendorId
Nullablestring
a vendor associated with this message