POST
/
api
/
aibot
/
reply
curl --request POST \
  --url https://app.livechatai.com/api/aibot/reply \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "question": "what.....?",
  "chatbotId": "c****************1cx4",
  "chatId": "l****************8fv1",
  "streaming": false
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Message details for the chatbot
question
string
required

The question or message to send to the chatbot

Example:

"what.....?"

chatbotId
string
required

Unique identifier of the chatbot to message

Example:

"c****************1cx4"

chatId
string

Optional: Unique identifier of an existing chat session

Example:

"l****************8fv1"

streaming
boolean

Optional: Enable streaming of the response

Example:

false

Response

200
_mintlify/placeholder

Message sent and response received successfully