OBJECT

Conversation

link GraphQL Schema definition

  • type Conversation {
  • # Conversation unique id
  • id: UUID!
  • # Legacy conversation id
  • legacyId: LegacyId
  • # Conversation creation date
  • createdAt: DateTime!
  • # Conversation closing date
  • closedAt: DateTime
  • # Conversation channel
  • channel: String!
  • # Conversation duration in seconds from visitor initiation time to user closing
  • # time using iso 8601 format
  • duration: String
  • # List of visitors who participated to this conversation
  • conversationVisitors: [ConversationVisitor!] @deprecated( reason: "Please use the visitor field instead" )
  • # Satisfaction survey answered by visitor
  • satisfactionSurvey: SatisfactionSurvey
  • # Timeline of the conversation represented by the routing events that took place
  • routingEvents: [RoutingEvent!]!
  • # Conversions associated to the conversation
  • conversions: Conversions
  • # The visitor who participated to this conversation
  • visitor: Visitor
  • # List of visitors who participated to this conversation
  • #
  • # Arguments
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # first: Returns the first n elements from the list.
  • # last: Returns the last n elements from the list.
  • visitors(
  • before: String,
  • after: String,
  • first: Int,
  • last: Int
  • ): ConversationVisitorConnection @deprecated( reason: "Please use the visitor field instead" )
  • # Users who participated to the conversation. This data is not consistent, we
  • # recommend not to use this information
  • users: [User!]
  • # Tags of the conversation
  • tags: [ConversationTag!]!
  • # Targeting Rule of the conversation. This data is not consistent, we recommend
  • # not to use this information
  • targetingRule: TargetingRule
  • # The project details
  • project: Project
  • # Language of the conversation
  • language: Language
  • # Messages of the conversation
  • #
  • # Arguments
  • # before: Returns the elements in the list that come before the
  • # specified cursor.
  • # after: Returns the elements in the list that come after the
  • # specified cursor.
  • # first: Returns the first n elements from the list.
  • # last: Returns the last n elements from the list.
  • messages(before: String, after: String, first: Int, last: Int): ConversationMessageConnection
  • # Represents the current status of the conversation, with extra information
  • # depending on the status
  • distributionStatus: ConversationDistributionStatus
  • }