Chatbot
Chat With Chatbot With Streaming
Ask anything to your chatbot with response streaming.
POST
/
v1
/
chatbot
/
chat-stream
Copy
curl --request POST \
--url https://api.droxy.ai/v1/chatbot/chat-stream \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"chatbotId": "<string>",
"conversation": [
{
"text": "<string>",
"fromUser": true
}
]
}'
Copy
{
"data": {
"text": "<string>"
},
"type": "<string>",
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}
Authorizations
Body
application/json
Response
201
application/json
Created
The response is of type object
.
Copy
curl --request POST \
--url https://api.droxy.ai/v1/chatbot/chat-stream \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"chatbotId": "<string>",
"conversation": [
{
"text": "<string>",
"fromUser": true
}
]
}'
Copy
{
"data": {
"text": "<string>"
},
"type": "<string>",
"statusCode": 123,
"message": "<string>",
"error": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.