POST
/
{bot_id}
curl --request POST \
  --url https://api.public.chatnode.ai/v1/{bot_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>",
  "chat_session_id": "<string>",
  "streaming": false
}'
{
  "id": "d0135d64-2f4b-4a79-9b29-af76e4ea93a7",
  "message": "Hello there! 😄 How can I assist you today?",
  "chat_session_id": "aki56d7-1719768767426",
  "urls": [],
  "docs": []
}

Authorizations

Authorization
string
header
required

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

Path Parameters

bot_id
string
required

The bot id associated with the trained chatbot model.

Body

application/json

Response

200
application/json

Message response

The response is of type object.