ExportEvent

    • event_type
      Discriminator
      const:  
      message_sent

      Discriminator; always "message_sent" for this record.

    • company_id
      Type: string · Company IdFormat: uuid
      required

      UUID of the company (tenant) the conversation belongs to.

    • conversation_id
      Type: string · Conversation IdFormat: uuid
      required

      UUID of the conversation this event belongs to.

    • digital_employee_id
      Type: string · Digital Employee IdFormat: uuid
      required

      UUID of the digital employee handling the conversation.

    • event_id
      Type: string · Event Id
      required

      Unique, stable identifier for this event. Delivery is at-least-once, so consumers must deduplicate on this value.

    • message_id
      Type: string · Message IdFormat: uuid
      required

      UUID 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.

    • occurred_at
      Type: string · Occurred AtFormat: date-time
      required

      When the event occurred, as an RFC 3339 / ISO 8601 timestamp.

    • role
      Type: string · ParticipantRoleenum
      required

      Who sent the message.

      values
      • user
      • digital_employee
      • agent
      • system
      • statistics
    • text
      Type: string · Text
      required

      The message text.

    • schema_version
      const:  
      v1

      Schema version of this record. Always "v1" here; a breaking change ships as "v2".