v1
latestOpenAPI 3.0.32026-07-13201451.3 KBChat
Chat with a chatbot
Send a message to a chatbot and receive a response. Supports streaming responses. Can continue existing conversations by providing a conversationId.
post/chat
Request body
Example request
{
"chatbotId": "ckl123abc456",
"messages": [
{
"role": "user",
"content": "Hello, I need help with my order"
}
],
"conversationId": "conv_abc123",
"contactId": "user_123",
"model": "gpt-4o-mini",
"temperature": 0.7
}Response
Chat response
Example response
{
"text": "Hello! How can I help you today?"
}