Conversation with Chatbot
POST
/v1/chatbots/{appId}/messages
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.anakin.ai/v1/chatbots/1344/messages' \
--header 'X-Anakin-Api-Version;' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": "Say this is a test!",
"stream": true
}'
Response Response Example
200 - Non-streaming response - Success
{
"content": "This is a test!",
"threadId": "CM88W9SLrm712ozLA4Pz5Xmhzoj5EIcf"
}
Request
Path Params
appId
string
required
Example:
1344
Header Params
X-Anakin-Api-Version
string
required
Default:
2024-05-06
Body Params application/json
Responses
Modified at 2024-07-26 03:44:20