ExportEvent
- event
_type Discriminatorconst:message_sentDiscriminator; always "message_sent" for this record.
- companyType: string · Company IdFormat: uuid
_id requiredUUID of the company (tenant) the conversation belongs to.
- conversationType: string · Conversation IdFormat: uuid
_id requiredUUID of the conversation this event belongs to.
- digitalType: string · Digital Employee IdFormat: uuid
_employee _id requiredUUID of the digital employee handling the conversation.
- eventType: string · Event Id
_id requiredUnique, stable identifier for this event. Delivery is at-least-once, so consumers must deduplicate on this value.
- messageType: string · Message IdFormat: uuid
_id requiredUUID of the message this event relates to. Events that fan out from the same message share it, so it can be used to rejoin them.
- occurredType: string · Occurred AtFormat: date-time
_at requiredWhen the event occurred, as an RFC 3339 / ISO 8601 timestamp.
- roleType: string · ParticipantRoleenumrequired
Who sent the message.
values- user
- digital
_employee - agent
- system
- statistics
- textType: string · Textrequired
The message text.
- schema
_version const:v1Schema version of this record. Always "v1" here; a breaking change ships as "v2".