Conversations
Conversations
Creating/initiating a conversation :
Create a Conversation with a Chatbot REST API Endpoint
Response Model
{
"botId": "string",
"botVersion": Integer,
"userId": "string",
"environment": "string",
"conversationState": "string",
"redoCacheSize": 0,
"conversationOutputs": [
"input" : "string",
"expressions" : <arrayOfString>,
"intents" : <arrayOfString>,
"actions" : <arrayOfString>,
"httpCalls" : {JsonObject},
"properties" : <arrayOfString>,
"output" : "string"
],
"conversationProperties": {
"<nameOfProperty>" : {
"name" : "string",
"value" : "string" | {JsonObject},
"scope" : "string"
}},
"conversationSteps": [
{
"conversationStep": [
{
"key": "string",
"value": {}
}
],
"timestamp": "dateTime"
}
]
}Description of the Conversation response model
Sample Response
Example :
Send/receive messages
Send a message
Send message in a conversation with a Chatbot REST API Endpoint
Example :
Receive a message
Receive message in a conversation with a Chatbot REST API Endpoint
Example
Undo and redo :
Undo and redo in a conversation REST API Endpoint
Example (undo)
Sample bot:
Last updated
Was this helpful?