Skip to main content

ImportConversationInput

Input for importing a conversation and its messaging

input ImportConversationInput {
externalId: String!
title: String
messages: [ImportConversationMessageInput!]!
creator: ImportUserInput
assignee: ImportUserInput
context: [ContextFieldInput!]
createdAt: DateTime
updatedAt: DateTime
}

Fields

ImportConversationInput.externalId ● String! non-null scalar

The external ID of the conversation

ImportConversationInput.title ● String scalar

The title of the conversation

ImportConversationInput.messages ● [ImportConversationMessageInput!]! non-null input

The messages in the conversation. At least one message is required.

ImportConversationInput.creator ● ImportUserInput input

The user who created the conversation. If not set, the first message creator will be used.

ImportConversationInput.assignee ● ImportUserInput input

The user assigned to the conversation, if any

ImportConversationInput.context ● [ContextFieldInput!] list input

Additional context for the conversation, if any

ImportConversationInput.createdAt ● DateTime scalar

When the conversation was created. If not set, the first message createdAt will be used.

ImportConversationInput.updatedAt ● DateTime scalar

When the conversation was last updated. If not set, the createdAt will be used.

Member Of

importConversations mutation