Optional
bodyOptional
attachments?: Optional
auto?: booleanOptional
conversation?: stringOptional
createdAt?: stringOptional
createdBy?: stringOptional
custom?: { [key: string]: never }Optional
customer?: stringOptional
direction?: "in" | "out"Optional
error?: {Optional
errorAt?: stringOptional
externalId?: stringOptional
id?: stringOptional
importedAt?: stringOptional
kbArticles?: string[]Optional
lang?: string | nullOptional
location?: {Optional
meta?: { [key: string]: unknown }Optional
modifiedAt?: stringOptional
modifiedBy?: stringOptional
preview?: stringOptional
queue?: unknown & { external?: "amazon-connect"; id?: string }Optional
reference?: { message: string; type: "reply" | "replyAll" | "forward" }Optional
related?: stringOptional
sentAt?: stringOptional
sentiment?: { confidence: number; polarity: -1 | 0 | 1 }Optional
shortcuts?: string[]Optional
size?: numberOptional
source?: "bulk" | "satisfaction"Optional
status?: "sent" | "received" | "error"Optional
subject?: stringOptional
pathOptional
query
If true, message was automatically generated from a Kustomer workflow or auto-response feature. If set to true, this message will be excluded from reporting metrics. If false, message was created by a manual method.