Skip to main content
Server path: /chatbotkit-conversations | Type: Application | PCID required: Yes

Tools


chatbotkit_conversations_complete_conversation

Complete the next message in a conversation Parameters:
ParameterTypeRequiredDefaultDescription
attachmentsany[]NoAn array of attachments to be added to the conversation
contactIdstringNoThe contact ID to associate with this conversation
extensionsobjectNoExtensions to enhance the bot’s capabilities
functionsany[]NoAn array of functions to be added to the conversation
limitsobjectNoExecution limits to control conversation processing bounds
messagesany[]YesAn array of messages to be added to the conversation

chatbotkit_conversations_complete_conversation_message

Send and receive a conversation response Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation to receive message from
entitiesany[]NoKnown entities
extensionsobjectNoExtensions to enhance the bot’s capabilities
functionsany[]NoAn array of functions to be added to the conversation
limitsobjectNoExecution limits to control conversation processing bounds
textstringYesThe text of the message to send

chatbotkit_conversations_create_conversation

Create a new conversation Parameters:
ParameterTypeRequiredDefaultDescription
contactIdstringNoThe contact id assigned to this conversation
descriptionstringNoThe associated description
messagesany[]NoAn array of messages to be added to the conversation
metaobjectNoMeta data information
namestringNoThe associated name
spaceIdstringNoThe space id assigned to this conversation
taskIdstringNoThe task id assigned to this conversation

chatbotkit_conversations_create_conversation_message

Create message Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation
descriptionstringNoThe associated description
entitiesany[]NoKnown entities
metaobjectNoMeta data information
namestringNoThe associated name
textstringYesThe text of the message
typestringYesThe type of the message

chatbotkit_conversations_create_conversation_session

Create conversation session Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation
durationInSecondsnumberNoThe maximum amount of time this session will stay open

chatbotkit_conversations_delete_conversation

Delete conversation Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation to delete

chatbotkit_conversations_delete_conversation_message

Delete a message Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation containing the message
messageIdstringYesThe ID of the message to delete

chatbotkit_conversations_fetch_conversation

Fetch conversation Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation to retrieve

chatbotkit_conversations_fetch_conversation_message

Fetch conversation message Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation containing the message
messageIdstringYesThe ID of the message to retrieve

chatbotkit_conversations_list_conversation_messages

List conversation messages Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation to list messages for
cursorstringNoThe cursor to use for pagination
orderstringNoThe order of the paginated items
takeintegerNoThe number of items to retrieve

chatbotkit_conversations_list_conversations

List conversations Parameters:
ParameterTypeRequiredDefaultDescription
cursorstringNoThe cursor to use for pagination
orderstringNoThe order of the paginated items
takeintegerNoThe number of items to retrieve
metaobjectNoKey-value pairs to filter the partner users by metadata

chatbotkit_conversations_receive_conversation_message

Receive a conversation response Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation to receive message from
extensionsobjectNoExtensions to enhance the bot’s capabilities
functionsany[]NoAn array of functions to be added to the conversation

chatbotkit_conversations_send_conversation_message

Send a message to a conversation Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation to send the message to
entitiesany[]NoKnown entities
extensionsobjectNoExtensions to enhance the bot’s capabilities
functionsany[]NoAn array of functions to be added to the conversation
textstringYesThe text of the message to send

chatbotkit_conversations_update_conversation

Update conversation Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesConversation Id
contactIdstringNoThe contact id assigned to this conversation
descriptionstringNoThe associated description
metaobjectNoMeta data information
namestringNoThe associated name
spaceIdstringNoThe space id assigned to this conversation
taskIdstringNoThe task id assigned to this conversation

chatbotkit_conversations_update_conversation_message

Update conversation message Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation
messageIdstringYesThe ID of the message
descriptionstringNoThe associated description
entitiesany[]NoKnown entities
metaobjectNoMeta data information
namestringNoThe associated name
textstringNoThe updated text of the message
typestringNoThe type of the message

chatbotkit_conversations_upload_conversation_attachment

Upload a file as a conversation attachment Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesConversation Id
filestringYesThe file to upload either as http: or data: URL

chatbotkit_conversations_upsert_conversation_contact

Upsert contact Parameters:
ParameterTypeRequiredDefaultDescription
conversationIdstringYesThe ID of the conversation
descriptionstringNoThe associated description
emailstringNoThe email address of the contact
fingerprintstringNoThe fingerprint of the contact
metaobjectNoMeta data information
namestringNoThe associated name
nickstringNoThe nickname of the contact
phonestringNoThe phone number of the contact