Conversation with Chatbot
POST
/v1/chatbots/{appId}/messagesSend message to a particular thread or start a new thread.
Request
Path Params
appId
string
required
Example:
1344
Body Params application/json
No schema defined
Example
{
"content": "Say this is a test!",
"stream": true
}
Request samples
Responses
Non-streaming response(200)
Streaming Response(200)
Non-streaming response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"content": "This is a test!",
"threadId": "CM88W9SLrm712ozLA4Pz5Xmhzoj5EIcf"
}
Last modified: 4 months ago